cvs: php-src /ext/exif exif.c

From: Date: Wed, 17 Dec 2003 09:07:13 +0000
Subject: cvs: php-src /ext/exif exif.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25246@lists.php.net to get a copy of this message
helly Wed Dec 17 04:07:13 2003 EDT Modified files: /php-src/ext/exif exif.c Log: Fix warning Index: php-src/ext/exif/exif.c diff -u php-src/ext/exif/exif.c:1.159 php-src/ext/exif/exif.c:1.160 --- php-src/ext/exif/exif.c:1.159 Wed Dec 10 16:23:33 2003 +++ php-src/ext/exif/exif.c Wed Dec 17 04:07:11 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: exif.c,v 1.159 2003/12/10 21:23:33 iliaa Exp $ */ +/* $Id: exif.c,v 1.160 2003/12/17 09:07:11 helly Exp $ */ /* ToDos * @@ -111,7 +111,7 @@ }; /* }}} */ -#define EXIF_VERSION "1.4 $Id: exif.c,v 1.159 2003/12/10 21:23:33 iliaa Exp $" +#define EXIF_VERSION "1.4 $Id: exif.c,v 1.160 2003/12/17 09:07:11 helly Exp $" /* {{{ PHP_MINFO_FUNCTION */ @@ -1628,7 +1628,7 @@ } else { info_value = &info_data->value; } - for (idex=0,vptr=value; idex<length; idex++,vptr=(char *) vptr + php_tiff_bytes_per_format[format]) { + for (idex=0,vptr=value; idex<(size_t)length; idex++,vptr=(char *) vptr + php_tiff_bytes_per_format[format]) { if (length>1) { info_value = &info_data->value.list[idex]; }

« previous php.cvs (#25246) next »