X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e19291405ff3995a32c965da9694f2f20aa02468..4c200e8d87728306b219822d9c07e28526cd8649:/src/jpeg/jcdctmgr.c

diff --git a/src/jpeg/jcdctmgr.c b/src/jpeg/jcdctmgr.c
index 61fa79b9e6..03ffc8ae41 100644
--- a/src/jpeg/jcdctmgr.c
+++ b/src/jpeg/jcdctmgr.c
@@ -117,8 +117,8 @@ start_pass_fdctmgr (j_compress_ptr cinfo)
 	dtbl = fdct->divisors[qtblno];
 	for (i = 0; i < DCTSIZE2; i++) {
 	  dtbl[i] = (DCTELEM)
-	    DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
-				  (INT32) aanscales[i]),
+	    DESCALE(MULTIPLY16V16((JPEG_INT32) qtbl->quantval[i],
+				  (JPEG_INT32) aanscales[i]),
 		    CONST_BITS-3);
 	}
       }