diff options
author | Sascha Schumann <sas@php.net> | 2002-12-22 16:34:13 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-12-22 16:34:13 +0000 |
commit | 20e8bc31f0c6ac9cc2b9452de388a1899f25f3d5 (patch) | |
tree | 48998a926d36f38db7c9bf60cd4b197881823c19 /ext/exif | |
parent | 280f4a4373eb5ed591268be1adfc3d734412858a (diff) | |
download | php-git-20e8bc31f0c6ac9cc2b9452de388a1899f25f3d5.tar.gz |
(char *) vptr += expr; is refused by the IRIX compiler, so we use
vptr = (char *) vptr + expr; instead.
Diffstat (limited to 'ext/exif')
-rw-r--r-- | ext/exif/exif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 66b07e97a9..4d8e952c23 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -1630,7 +1630,7 @@ static void exif_iif_add_value(image_info_type *image_info, int section_index, c } 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]; } |