From: Stefan Esser Date: Mon, 23 Dec 2002 08:43:13 +0000 (+0000) Subject: MFH: fix compile error with IRIX compiler X-Git-Tag: php-4.3.0~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5343487ace308381f052f303a37ca29d493abd8;p=php MFH: fix compile error with IRIX compiler --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 4b072a2ab2..2180f609ed 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -1534,7 +1534,7 @@ static int exif_file_sections_free(image_info_type *ImageInfo) */ static void exif_iif_add_value(image_info_type *image_info, int section_index, char *name, int tag, int format, size_t length, void* value, int motorola_intel TSRMLS_DC) { - size_t index; + size_t idex; void *vptr; image_info_value *info_value; image_info_data *info_data; @@ -1620,9 +1620,9 @@ static void exif_iif_add_value(image_info_type *image_info, int section_index, c } else { info_value = &info_data->value; } - for (index=0,vptr=value; index1) { - info_value = &info_data->value.list[index]; + info_value = &info_data->value.list[idex]; } switch (format) { case TAG_FMT_USHORT: