]> git.saurik.com Git - wxWidgets.git/blobdiff - src/jpeg/jcdctmgr.c
that was a memory leak
[wxWidgets.git] / src / jpeg / jcdctmgr.c
index 61fa79b9e68bcc3e3bfe84b9a50af55a9598214b..03ffc8ae416a84e0b6b2c9e5906354696e3a298c 100644 (file)
@@ -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);
        }
       }