diff options
author | Marcus Boerger <helly@php.net> | 2002-09-03 19:09:03 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-09-03 19:09:03 +0000 |
commit | 7a6418cad24edffd30468c959097a3b4fcfc904a (patch) | |
tree | a8f6b63653af8ed575f632f6c5405ba6802e3d4d | |
parent | cc7433870cb5e5a4ecb7d26a6e6c44910b34b504 (diff) | |
download | php-git-7a6418cad24edffd30468c959097a3b4fcfc904a.tar.gz |
Fix warnings again....
#So many different compilers...
-rw-r--r-- | ext/exif/exif.c | 4 |
1 files 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) { |