(char *) vptr += expr; is refused by the IRIX compiler, so we use

vptr = (char *) vptr + expr; instead.
This commit is contained in:
Sascha Schumann 2002-12-22 16:34:13 +00:00
parent 280f4a4373
commit 20e8bc31f0

View File

@ -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];
}