freebsd-ports/multimedia/vic/files/patch-aw
Steve Price 59e4b7969b Update to Tcl/Tk version 8.2 and get this to build with gcc 2.95.
Submitted by:	Ade Lovett <ade@lovett.com>
1999-11-29 03:41:33 +00:00

21 lines
542 B
Plaintext

--- jpeg/jpeg.cc.orig Sun Nov 28 19:23:29 1999
+++ jpeg/jpeg.cc Sun Nov 28 19:23:52 1999
@@ -139,7 +139,7 @@
dct_unbias_ = 1;
short *sp = (short *)frm_;
- for (register i = 0; i < n / (BMB * 64) ; i++) {
+ for (register int i = 0; i < n / (BMB * 64) ; i++) {
*sp = DCT_GRAY;
sp += 64;
*sp = DCT_GRAY;
@@ -173,7 +173,7 @@
dct_unbias_ = 1;
short *sp = (short*)frm_;
- for (register i = 0; i < n / (BMB * 64) ; i++) {
+ for (register int i = 0; i < n / (BMB * 64) ; i++) {
*sp = DCT_GRAY;
sp += 64;
*sp = DCT_GRAY;