summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 6875850687..fd1585d472 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2996,7 +2996,7 @@ PHP_METHOD(ZipArchive, registerCancelCallback)
PHP_METHOD(ZipArchive, isCompressionMethodSupported)
{
zend_long method;
- zend_bool enc = 1;
+ bool enc = 1;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|b", &method, &enc) == FAILURE) {
return;
@@ -3009,7 +3009,7 @@ PHP_METHOD(ZipArchive, isCompressionMethodSupported)
PHP_METHOD(ZipArchive, isEncryptionMethodSupported)
{
zend_long method;
- zend_bool enc = 1;
+ bool enc = 1;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|b", &method, &enc) == FAILURE) {
return;