helly Wed Dec 17 04:07:13 2003 EDT
Modified files:
/php-src/ext/exif exif.c
Log:
Fix warning
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.159 php-src/ext/exif/exif.c:1.160
--- php-src/ext/exif/exif.c:1.159 Wed Dec 10 16:23:33 2003
+++ php-src/ext/exif/exif.c Wed Dec 17 04:07:11 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exif.c,v 1.159 2003/12/10 21:23:33 iliaa Exp $ */
+/* $Id: exif.c,v 1.160 2003/12/17 09:07:11 helly Exp $ */
/* ToDos
*
@@ -111,7 +111,7 @@
};
/* }}} */
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.159 2003/12/10 21:23:33 iliaa Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.160 2003/12/17 09:07:11 helly Exp $"
/* {{{ PHP_MINFO_FUNCTION
*/
@@ -1628,7 +1628,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