summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-08-26 12:37:29 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-08-26 14:05:28 +0200
commit8f897f1040f00210f4a5cdd82a88a1fe3e558955 (patch)
tree5b42919dae6065ffe434fae0cc402567b13bd5c7 /ext/zip/php_zip.h
parent5703943081fc24d555e572edf507a05702974d98 (diff)
downloadphp-git-8f897f1040f00210f4a5cdd82a88a1fe3e558955.tar.gz
Replace deprecated libzip functions
We replace all deprecated libzip functions with their recommended substitutes, and add proper comment length checks including a test case.
Diffstat (limited to 'ext/zip/php_zip.h')
-rw-r--r--ext/zip/php_zip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h
index 0ac9189583..0385c8d3e9 100644
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@ -39,8 +39,8 @@ extern zend_module_entry zip_module_entry;
typedef struct _ze_zip_rsrc {
struct zip *za;
- int index_current;
- int num_files;
+ zip_uint64_t index_current;
+ zip_int64_t num_files;
} zip_rsrc;
typedef zip_rsrc * zip_rsrc_ptr;