From f0dd842b11cadfb608bb392c0182965988c35036 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 7 Nov 2015 01:29:43 +0100 Subject: [PATCH] Fix warning applications\codec\convertpng.c(465) : warning C4018: '<' : signed/unsigned mismatch --- applications/codec/convertpng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/codec/convertpng.c b/applications/codec/convertpng.c index 3b0151c6..beb533c0 100644 --- a/applications/codec/convertpng.c +++ b/applications/codec/convertpng.c @@ -440,7 +440,7 @@ int imagetopng(opj_image_t * image, const char *write_idf) /* convert */ { size_t width= image->comps[0].w; - png_uint_32 y; + int y; convert_32s_PXCX cvtPxToCx = convert_32s_PXCX_LUT[nr_comp]; convert_32sXXx_C1R cvt32sToPack = NULL; png_int_32 adjust = image->comps[0].sgnd ? 1 << (prec - 1) : 0;