1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/netpbm/files/patch-ap
Steve Price 5a49259902 Update to version 8.0.
PR:		14403
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-11-01 01:14:38 +00:00

16 lines
398 B
Plaintext

--- pnm/pnmarith.c.orig Sun Aug 13 13:08:04 1995
+++ pnm/pnmarith.c Sat Oct 16 02:39:24 1999
@@ -147,9 +147,9 @@
break;
case '*':
- r1 = r1 * r2 / maxval3;
- g1 = g1 * g2 / maxval3;
- b1 = b1 * b2 / maxval3;
+ r1 = (unsigned) r1 * r2 / maxval3;
+ g1 = (unsigned) g1 * g2 / maxval3;
+ b1 = (unsigned) b1 * b2 / maxval3;
break;
case 'D':