diff options
-rw-r--r-- | doc/HISTORY | 6 | ||||
-rw-r--r-- | editor/ppmbrighten.c | 2 | ||||
-rw-r--r-- | version.mk | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 35f67898..3911d9c7 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,12 @@ Netpbm. CHANGE HISTORY -------------- +17.09.28 BJH Release 10.73.16 + + ppmbrighten: fix bug: red pixels change hue. Introduced in + after Netpbm 10.11 (October 2002) and before Netpbm 10.18 + (September 2003). + 17.09.13 BJH Release 10.73.15 palmtopnm: fix crash if invalid input contains color index that diff --git a/editor/ppmbrighten.c b/editor/ppmbrighten.c index 6db3987b..a7aba2e7 100644 --- a/editor/ppmbrighten.c +++ b/editor/ppmbrighten.c @@ -102,7 +102,7 @@ parseCommandLine(int argc, char ** argv, static __inline__ unsigned int mod(int const dividend, unsigned int const divisor) { - int remainder = dividend % divisor; + int remainder = dividend % (int)divisor; if (remainder < 0) return divisor + remainder; diff --git a/version.mk b/version.mk index bf79c62b..d23ea7fc 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 73 -NETPBM_POINT_RELEASE = 15 +NETPBM_POINT_RELEASE = 16 |