From 5c97066c71c5ad78168e137ab76be8e404f93bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 14 Feb 2015 08:55:43 +0100 Subject: [PATCH] Must store fgetc() output in an int --- autistdraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autistdraw.c b/autistdraw.c index 45f63a5..2d86f63 100644 --- a/autistdraw.c +++ b/autistdraw.c @@ -836,7 +836,7 @@ load (app_context_t *app) if (!bitmap) goto error; - char c; + int c; uint8_t pixel = 0; bool have_nibble = false; size_t loaded = 0;