helly Wed Dec 17 04:08:39 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/exif exif.c Log: MFH: Fix warning Index: php-src/ext/exif/exif.c diff -u php-src/ext/exif/exif.c:1.118.2.26 php-src/ext/exif/exif.c:1.118.2.27 --- php-src/ext/exif/exif.c:1.118.2.26 Sat Nov 8 09:16:14 2003 +++ php-src/ext/exif/exif.c Wed Dec 17 04:08:37 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: exif.c,v 1.118.2.26 2003/11/08 14:16:14 helly Exp $ */ +/* $Id: exif.c,v 1.118.2.27 2003/12/17 09:08:37 helly Exp $ */ /* ToDos * @@ -99,7 +99,7 @@ }; /* }}} */ -#define EXIF_VERSION "1.4 $Id: exif.c,v 1.118.2.26 2003/11/08 14:16:14 helly Exp $" +#define EXIF_VERSION "1.4 $Id: exif.c,v 1.118.2.27 2003/12/17 09:08:37 helly Exp $" /* {{{ PHP_MINFO_FUNCTION */ @@ -1606,7 +1606,7 @@ } else { info_value = &info_data->value; } - for (idex=0,vptr=value; idex<length; idex++,vptr=(char *) vptr + php_tiff_bytes_per_format[format]) { + for (idex=0,vptr=value; idex<(size_t)length; idex++,vptr=(char *) vptr + php_tiff_bytes_per_format[format]) { if (length>1) { info_value = &info_data->value.list[idex]; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php