sas Sun Dec 22 11:34:13 2002 EDT
Modified files:
/php4/ext/exif exif.c
Log:
(char *) vptr += expr; is refused by the IRIX compiler, so we use
vptr = (char *) vptr + expr; instead.
Index: php4/ext/exif/exif.c
diff -u php4/ext/exif/exif.c:1.135 php4/ext/exif/exif.c:1.136
--- php4/ext/exif/exif.c:1.135 Sun Dec 22 11:03:28 2002
+++ php4/ext/exif/exif.c Sun Dec 22 11:34:13 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exif.c,v 1.135 2002/12/22 16:03:28 sas Exp $ */
+/* $Id: exif.c,v 1.136 2002/12/22 16:34:13 sas Exp $ */
/* ToDos
*
@@ -95,7 +95,7 @@
};
/* }}} */
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.135 2002/12/22 16:03:28 sas Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.136 2002/12/22 16:34:13 sas Exp $"
/* {{{ PHP_MINFO_FUNCTION
*/
@@ -1630,7 +1630,7 @@
} else {
info_value = &info_data->value;
}
- for (idex=0,vptr=value; idex<length; idex++,(char
*)vptr+=php_tiff_bytes_per_format[format]) {
+ for (idex=0,vptr=value; idex<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