sesser          Mon Dec 23 03:43:14 2002 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/exif      exif.c 
  Log:
  MFH: fix compile error with IRIX compiler
  
  
  
Index: php4/ext/exif/exif.c
diff -u php4/ext/exif/exif.c:1.118.2.11 php4/ext/exif/exif.c:1.118.2.12
--- php4/ext/exif/exif.c:1.118.2.11     Mon Dec 16 12:53:15 2002
+++ php4/ext/exif/exif.c        Mon Dec 23 03:43:13 2002
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: exif.c,v 1.118.2.11 2002/12/16 17:53:15 helly Exp $ */
+/* $Id: exif.c,v 1.118.2.12 2002/12/23 08:43:13 sesser Exp $ */
 
 /*  ToDos
  *
@@ -95,7 +95,7 @@
 };
 /* }}} */
 
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.118.2.11 2002/12/16 17:53:15 helly Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.118.2.12 2002/12/23 08:43:13 sesser Exp $"
 
 /* {{{ PHP_MINFO_FUNCTION
  */
@@ -1534,7 +1534,7 @@
 */
 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 @@
                        } else {
                                info_value = &info_data->value;
                        }
-                       for (index=0,vptr=value; index<length; 
index++,(int)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[index];
+                                       info_value = &info_data->value.list[idex];
                                }
                                switch (format) {
                                        case TAG_FMT_USHORT:



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to