Skip to content

Commit 348a719

Browse files
committed
ext/exif: Replace zend_parse_parameters() with ZEND_PARSE_PARAMETERS macros
1 parent 085c509 commit 348a719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/exif/exif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4979,7 +4979,7 @@ PHP_FUNCTION(exif_imagetype)
49794979
int itype = 0;
49804980

49814981
ZEND_PARSE_PARAMETERS_START(1, 1)
4982-
Z_PARAM_STRING(imagefile, imagefile_len)
4982+
Z_PARAM_PATH(imagefile, imagefile_len)
49834983
ZEND_PARSE_PARAMETERS_END();
49844984

49854985
stream = php_stream_open_wrapper(imagefile, "rb", IGNORE_PATH|REPORT_ERRORS, NULL);

0 commit comments

Comments
 (0)