From 7a6418cad24edffd30468c959097a3b4fcfc904a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 3 Sep 2002 19:09:03 +0000 Subject: Fix warnings again.... #So many different compilers... --- ext/exif/exif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 1bfe32ff7a..bf2783b79f 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -1065,7 +1065,7 @@ void add_assoc_image_info( pval *value, int sub_array, image_info_type *image_in 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 @@ static int exif_process_IFD_in_TIFF(image_info_type *ImageInfo, FILE *infile, si 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) { -- cgit v1.2.1