summaryrefslogtreecommitdiff
path: root/ext/zip/zip.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-10-13 15:06:14 +0000
committerfoobar <sniper@php.net>2001-10-13 15:06:14 +0000
commit7e88a009d22f944996d09d0630d3f5b39418e28a (patch)
tree4328511c4302d391dea2bd7605394baadc76b226 /ext/zip/zip.c
parent67b53c04eb2dfe0641f089aec4b84fd887cae4fb (diff)
downloadphp-git-7e88a009d22f944996d09d0630d3f5b39418e28a.tar.gz
Fixed bug: #13652
Diffstat (limited to 'ext/zip/zip.c')
-rw-r--r--ext/zip/zip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c
index da078ccaaa..4a38cc63ac 100644
--- a/ext/zip/zip.c
+++ b/ext/zip/zip.c
@@ -176,7 +176,7 @@ PHP_FUNCTION(zip_close)
}
ZEND_FETCH_RESOURCE(archive_p, ZZIP_DIR *, &zzip_dp, -1, le_zip_dir_name, le_zip_dir);
- zend_list_delete(Z_LVAL_PP(zzip_dp));
+ zend_list_delete(Z_LVAL_P(zzip_dp));
}
/* }}} */
@@ -259,7 +259,7 @@ PHP_FUNCTION(zip_entry_open)
entry->fp = zzip_file_open(archive_p, entry->dirent.d_name, O_RDONLY | O_BINARY);
- RETURN_BOOL(entry->fp);
+ RETURN_BOOL((int) entry->fp);
}
/* }}} */