tuse int for return type of fgetc - pointtools - Simple point utilities to hold text presentations.
(HTM) git clone git://r-36.net/pointtools
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 30eef86b7a90c19c71bed414f66d210f4dcb6c21
(DIR) parent a424583e26fb27eba2b6f31d54e95d8519173f6c
(HTM) 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:
md2point.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/md2point.c b/md2point.c
t@@ -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 ||