mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
5a49259902
PR: 14403 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
16 lines
398 B
Plaintext
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':
|