diff options
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 4af78340c4..ec9d1b0202 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -319,7 +319,7 @@ static int php_zip_parse_options(zval *options, zend_long *remove_all_path, char if (Z_TYPE_P(option) != IS_LONG) { zval tmp; ZVAL_DUP(&tmp, option); - convert_to_int(&tmp); + convert_to_long(&tmp); opt = Z_LVAL(tmp); } else { opt = Z_LVAL_P(option); |