com php-src: make type consistent with glob_t.gl_pathc: ext/zip/php_zip.c
| From: | Remi Collet | Date: | Wed, 01 Mar 2017 16:01:58 +0000 |
| Subject: | com php-src: make type consistent with glob_t.gl_pathc: ext/zip/php_zip.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97200@lists.php.net to get a copy of this message | ||
Commit: 53a08fd07d37062c8605202ab973f311d738c59a
Author: Remi Collet <remi@php.net> Wed, 1 Mar 2017 17:01:58 +0100
Parents: 868930e0794e0ad49a95d6add5e3c7eac8743455
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=53a08fd07d37062c8605202ab973f311d738c59a
Log:
make type consistent with glob_t.gl_pathc
Changed paths:
M ext/zip/php_zip.c
Diff:
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index e741226..45bf8af 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -499,7 +499,7 @@ int php_zip_glob(char *pattern, int pattern_len, zend_long flags, zval *return_v
char *result;
#endif
glob_t globbuf;
- int n;
+ size_t n;
int ret;
if (pattern_len >= MAXPATHLEN) {