blob: e1b558d59117ccbdcf1f476c6a9f9fbfde93b47f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
char is unsigned by default on ppc64
--- a/converter/other/pnmtopalm/palmtopnm.c
+++ b/converter/other/pnmtopalm/palmtopnm.c
@@ -823,7 +823,7 @@
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 @@
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 ? */
|