From be6d424626a91cc909b06b57133721a3804cfdb7 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 7 Feb 2012 23:41:10 +0000 Subject: [PATCH] Compiler warning git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@785 632fc199-4ca6-4c93-a231-07263d6284db --- jdhuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdhuff.c b/jdhuff.c index b795462..12db124 100644 --- a/jdhuff.c +++ b/jdhuff.c @@ -784,7 +784,7 @@ decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data) usefast = 0; } - if (cinfo->src->bytes_in_buffer < BUFSIZE * cinfo->blocks_in_MCU + if (cinfo->src->bytes_in_buffer < BUFSIZE * (size_t)cinfo->blocks_in_MCU || cinfo->unread_marker != 0) usefast = 0; -- 2.49.0