From 52a752e4e8e76be31f0868c337738afb55568eb4 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 28 Sep 2017 01:31:13 +0000 Subject: Release 10.73.16 git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@3079 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- doc/HISTORY | 6 ++++++ editor/ppmbrighten.c | 2 +- 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 -- cgit 1.4.1