X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e19291405ff3995a32c965da9694f2f20aa02468..404b319a85dadd7decf7a5a5331020520031a41c:/src/jpeg/jddctmgr.c?ds=sidebyside

diff --git a/src/jpeg/jddctmgr.c b/src/jpeg/jddctmgr.c
index bbf8d0e92f..e27cc3d511 100644
--- a/src/jpeg/jddctmgr.c
+++ b/src/jpeg/jddctmgr.c
@@ -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);
 	}
       }