summaryrefslogtreecommitdiffstats
path: root/lib/strutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strutils.c')
-rw-r--r--lib/strutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strutils.c b/lib/strutils.c
index 9d30b83d1..5a6be2dae 100644
--- a/lib/strutils.c
+++ b/lib/strutils.c
@@ -883,7 +883,7 @@ const char *split(const char **state, size_t *l, const char *separator, int quot
/* Rewind file pointer forward to new line. */
int skip_fline(FILE *fp)
{
- char ch;
+ int ch;
do {
if ((ch = fgetc(fp)) == EOF)