Fix warning

applications\codec\convertpng.c(465) : warning C4018: '<' :
signed/unsigned mismatch
This commit is contained in:
mayeut 2015-11-07 01:29:43 +01:00
parent 96c3a8315b
commit f0dd842b11
1 changed files with 1 additions and 1 deletions

View File

@ -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;