use int for return type of fgetc

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Hiltjo Posthuma 2020-04-29 17:57:13 +02:00 committed by Christoph Lohmann
parent a424583e26
commit 30eef86b7a
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ mkfilename(char *fname, char *str, size_t len, int i)
void
copyfile(char *dst, char *src)
{
char c;
int c;
FILE *fsrc, *fdst;
if (strlen(src) < 1 || strlen(dst) < 1 ||