diff --git a/ext/standard/image.c b/ext/standard/image.c index c16ee1c6f9a..d3335decdc9 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -579,7 +579,7 @@ static struct gfxinfo *php_handle_jpc(php_stream * stream TSRMLS_DC) unsigned short dummy_short; int dummy_int, highest_bit_depth, bit_depth; unsigned char first_marker_id; - int i; + unsigned int i; /* JPEG 2000 components can be vastly different from one another. Each component can be sampled at a different resolution, use