cvs: php4(PHP_4_2_0) /ext/exif exif.c
| From: | Marcus B�rger | Date: | Tue, 03 Sep 2002 19:09:05 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/exif exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13807@lists.php.net to get a copy of this message | ||
helly Tue Sep 3 15:09:05 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/exif exif.c
Log:
Fix warnings again....
#So many different compilers...
Index: php4/ext/exif/exif.c
diff -u php4/ext/exif/exif.c:1.52.2.11 php4/ext/exif/exif.c:1.52.2.12
--- php4/ext/exif/exif.c:1.52.2.11 Tue Sep 3 03:39:10 2002
+++ php4/ext/exif/exif.c Tue Sep 3 15:09:03 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exif.c,v 1.52.2.11 2002/09/03 07:39:10 derick Exp $ */
+/* $Id: exif.c,v 1.52.2.12 2002/09/03 19:09:03 helly Exp $ */
/* ToDos
*
@@ -1065,7 +1065,7 @@
We want to print out the marker contents as legible text;
we must guard against random junk and varying newline representations.
*/
-static void exif_process_COM (image_info_type *image_info, uchar *value, int length)
+static void exif_process_COM (image_info_type *image_info, char *value, int length)
{
exif_add_image_info( image_info, SECTION_COMMENT, "Comment", TAG_COMPUTED_VALUE,
TAG_FMT_STRING, length-2, value+2);
}
@@ -1972,7 +1972,7 @@
php_error(E_NOTICE,"TIFF subsection %s done",
exif_get_sectionname(sub_section_index));
#endif
} else {
- exif_process_IFD_TAG(ImageInfo,dir_entry,ImageInfo->sections[sn].Data-dir_offset,ifd_size,section_index,0);
+ exif_process_IFD_TAG(ImageInfo,(char*)dir_entry,(char*)(ImageInfo->sections[sn].Data-dir_offset),ifd_size,section_index,0);
}
}
if (next_offset && section_index != SECTION_THUMBNAIL) {