diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2015-11-07 01:29:43 +0100 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2015-11-07 01:29:43 +0100 |
| commit | f0dd842b11cadfb608bb392c0182965988c35036 (patch) | |
| tree | 761788007d95ce5a1191c8265d223cc9b9c849c0 | |
| parent | 96c3a8315b18b7b56f3a0a1b9de8e1e4e6ce99a4 (diff) | |
Fix warningopenjpeg-1.5
applications\codec\convertpng.c(465) : warning C4018: '<' :
signed/unsigned mismatch
| -rw-r--r-- | applications/codec/convertpng.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
