summaryrefslogtreecommitdiff
path: root/ext/zip/zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/zip.c')
-rw-r--r--ext/zip/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c
index 0ae0454ba6..d2d6db0250 100644
--- a/ext/zip/zip.c
+++ b/ext/zip/zip.c
@@ -284,7 +284,7 @@ PHP_FUNCTION(zip_entry_read)
zval *zzip_ent;
php_zzip_dirent *entry = NULL;
char *buf = NULL;
- int len = 1024;
+ long len = 1024;
int ret = 0;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &zzip_ent, &len) == FAILURE) {