Re: exif on OSX

From: Date: Tue, 06 Aug 2002 03:33:36 +0000
Subject: Re: exif on OSX
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86551@lists.php.net to get a copy of this message
Love to follow up my own posts... lets correct this with what seems to be a more proper answer, moving over to a size_t vs an unsigned. Mainly because it seems that exif_process_IFD_TAG calls the exif_process_IFD_in_JPEG function, passing in a IFDlenght of type size_t. Still can't run the test.php file here though. Index: exif.c =================================================================== RCS file: /repository/php4/ext/exif/exif.c,v retrieving revision 1.107 diff -u -u -r1.107 exif.c --- exif.c 31 Jul 2002 21:34:37 -0000 1.107 +++ exif.c 6 Aug 2002 03:31:21 -0000 @@ -2174,7 +2174,7 @@ /* }}} */ /* forward declarations */ -static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_entry, char *offset_base, size_t IFDlength, size_t displacement, int section_index TSRMLS_DC); +static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, char *offset_base, size_t IFDlength, size_t displacement, int section_index TSRMLS_DC); static int exif_process_IFD_TAG( image_info_type *ImageInfo, char *dir_entry, char *offset_base, size_t IFDlength, size_t displacement, int section_index, int ReadNextIFD, tag_table_type tag_table TSRMLS_DC); /* {{{ exif_get_markername @@ -2997,7 +2997,7 @@ /* {{{ exif_process_IFD_in_JPEG * Process one of the nested IFDs directories. */ -static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, char *offset_base, unsigned IFDlength, size_t displacement, int section_index TSRMLS_DC) +static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, char *offset_base, size_t IFDlength, size_t displacement, int section_index TSRMLS_DC) { int de; int NumDirEntries; >---------------------------------------------------------------< Dan Kalowsky "A little less conversation, http://www.deadmime.org/~dank a little more action." dank-nos@mpa-deadmime.org - "A Little Less Conversation", kalowsky@php.net Elvis Presley

« previous php.dev (#86551) next »