use int for return type of fgetc
Signed-off-by: Christoph Lohmann <20h@r-36.net>master
parent
a424583e26
commit
30eef86b7a
|
@ -100,7 +100,7 @@ mkfilename(char *fname, char *str, size_t len, int i)
|
||||||
void
|
void
|
||||||
copyfile(char *dst, char *src)
|
copyfile(char *dst, char *src)
|
||||||
{
|
{
|
||||||
char c;
|
int c;
|
||||||
FILE *fsrc, *fdst;
|
FILE *fsrc, *fdst;
|
||||||
|
|
||||||
if (strlen(src) < 1 || strlen(dst) < 1 ||
|
if (strlen(src) < 1 || strlen(dst) < 1 ||
|
||||||
|
|
Loading…
Reference in New Issue