aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-14 08:55:43 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-14 08:55:43 +0100
commit5c97066c71c5ad78168e137ab76be8e404f93bfa (patch)
treeb9a0ec3b45ffdc2ef5dbd4aa0919dada8a1cc878
parent386126ffdb0c35c6db5d53dfb9e1c71a96ba3727 (diff)
downloadautistdraw-coverity_scan.tar.gz
autistdraw-coverity_scan.tar.xz
autistdraw-coverity_scan.zip
Must store fgetc() output in an intcoverity_scan
-rw-r--r--autistdraw.c2
1 files changed, 1 insertions, 1 deletions
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;