]> git.saurik.com Git - wxWidgets.git/blobdiff - src/jpeg/jddctmgr.c
Brian Victor's Patch & Cleanups
[wxWidgets.git] / src / jpeg / jddctmgr.c
index bbf8d0e92fdd84ddaa0017a2df039d224a740898..e27cc3d5111ad717cf61e4ad6bde89042b531c17 100644 (file)
@@ -197,8 +197,8 @@ start_pass (j_decompress_ptr cinfo)
 
        for (i = 0; i < DCTSIZE2; i++) {
          ifmtbl[i] = (IFAST_MULT_TYPE)
-           DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
-                                 (INT32) aanscales[i]),
+           DESCALE(MULTIPLY16V16((JPEG_INT32) qtbl->quantval[i],
+                                 (JPEG_INT32) aanscales[i]),
                    CONST_BITS-IFAST_SCALE_BITS);
        }
       }