diff options
-rw-r--r-- | converter/other/pnmtopalm/palmtopnm.c | 4 | ||||
-rw-r--r-- | doc/HISTORY | 6 | ||||
-rw-r--r-- | version.mk | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/converter/other/pnmtopalm/palmtopnm.c b/converter/other/pnmtopalm/palmtopnm.c index 445f7839..27f44a0a 100644 --- a/converter/other/pnmtopalm/palmtopnm.c +++ b/converter/other/pnmtopalm/palmtopnm.c @@ -825,7 +825,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 ? */ @@ -868,7 +868,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 ? */ diff --git a/doc/HISTORY b/doc/HISTORY index dcdf908f..b658c0ed 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,12 @@ Netpbm. CHANGE HISTORY -------------- +21.11.28 BJH Release 10.96.04 + + palmtopnm: Fix bug: fails with PackBits input on platform with + default unsigned char, such as ppc64. Always broken. (Ability + to convert PackBits input was new in Netpbm 10.27 (March 2005). + 21.11.07 BJH Release 10.96.03 sunicontopnm, escp2topbm, mgrtopbm, ybmtopbm, pamcut, pbmpscale, diff --git a/version.mk b/version.mk index 2e335a82..3c785ffc 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 96 -NETPBM_POINT_RELEASE = 3 +NETPBM_POINT_RELEASE = 4 |