diff options
Diffstat (limited to 'converter/other/pnmtopalm/palmtopnm.c')
-rw-r--r-- | converter/other/pnmtopalm/palmtopnm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/pnmtopalm/palmtopnm.c b/converter/other/pnmtopalm/palmtopnm.c index b3c0321a..89a8b39d 100644 --- a/converter/other/pnmtopalm/palmtopnm.c +++ b/converter/other/pnmtopalm/palmtopnm.c @@ -823,7 +823,7 @@ readPackBitsRow16(FILE * const ifP, unsigned int j; for (j = 0; j < bytesPerRow; ) { - char incount; + signed char incount; pm_readchar(ifP, &incount); if (incount < 0) { /* How do we handle incount == -128 ? */ @@ -865,7 +865,7 @@ readPackBitsRow(FILE * const ifP, unsigned int j; for (j = 0; j < bytesPerRow; ) { - char incount; + signed char incount; pm_readchar(ifP, &incount); if (incount < 0) { /* How do we handle incount == -128 ? */ |