commit 30eef86b7a90c19c71bed414f66d210f4dcb6c21
parent a424583e26fb27eba2b6f31d54e95d8519173f6c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 29 Apr 2020 17:57:13 +0200
use int for return type of fgetc
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/md2point.c b/md2point.c
@@ -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 ||