use int for return type of fgetc - pointtools - Simple point utilities to hold text presentations. HTML git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 30eef86b7a90c19c71bed414f66d210f4dcb6c21 DIR parent a424583e26fb27eba2b6f31d54e95d8519173f6c HTML 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: M md2point.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR 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 ||