From 7eba90705abbd8739709ea2921aa0701bf1200ea Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 19 Aug 2014 21:26:31 +0200 Subject: [PATCH] fixed exif --- ext/exif/exif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 57545bf42c6..0108a84bc50 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. */