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;
}
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. */