com php-src: fixed exif: ext/exif/exif.c
| From: | Anatol Belski | Date: | Tue, 19 Aug 2014 19:26:31 +0000 |
| Subject: | com php-src: fixed exif: ext/exif/exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80753@lists.php.net to get a copy of this message | ||
Commit: 7eba90705abbd8739709ea2921aa0701bf1200ea
Author: Anatol Belski <ab@php.net> Tue, 19 Aug 2014 21:26:31 +0200
Parents: 3ebf5bf99ca64eb7bddbb381ac4f901e7732ef05
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7eba90705abbd8739709ea2921aa0701bf1200ea
Log:
fixed exif
Changed paths:
M ext/exif/exif.c
Diff:
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 57545bf..0108a84 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif..c
@@ -2334,10 +2334,10 @@ static char * exif_get_markername(int marker)
Get headername for index or false if not defined */
PHP_FUNCTION(exif_tagname)
{
- long tag;
+ php_int_t tag;
char *szTemp;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &tag) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "i", &tag) == FAILURE) {
return;
}
@@ -3847,7 +3847,7 @@ static int exif_discard_imageinfo(image_info_type *ImageInfo)
static int exif_read_file(image_info_type *ImageInfo, char *FileName, int read_thumbnail, int
read_all TSRMLS_DC)
{
int ret;
- struct stat st;
+ php_stat_t st;
zend_string *base;
/* Start with an empty image information structure. */