use int for return type of fgetc

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Hiltjo Posthuma 4 years ago committed by Christoph Lohmann
parent a424583e26
commit 30eef86b7a

@ -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 ||

Loading…
Cancel
Save