Skip to content

Commit 9f8f683

Browse files
committed
jdcoefct.c: Fix signed/unsigned mismatch VC++ wrng
(introduced by previous commit)
1 parent 4dbc293 commit 9f8f683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jdcoefct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ jinit_d_coef_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
843843
/* If block smoothing could be used, need a bigger window */
844844
if (cinfo->progressive_mode) {
845845
access_rows *= 5;
846-
num_rows = MAX(num_rows, access_rows);
846+
num_rows = MAX(num_rows, (JDIMENSION)access_rows);
847847
}
848848
#endif
849849
coef->whole_image[ci] = (*cinfo->mem->request_virt_barray)

0 commit comments

Comments
 (0)