com php-src: strlen() returns size_t: ext/opcache/zend_ accelerator_module.c
| From: | Dmitry Stogov | Date: | Tue, 19 Mar 2013 06:45:38 +0000 |
| Subject: | com php-src: strlen() returns size_t: ext/opcache/zend_ accelerator_module.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71608@lists.php.net to get a copy of this message | ||
Commit: f621f0b8e7f1a2d061d37e16f71bcb2000c2a786
Author: Dmitry Stogov <dmitry@zend.com> Tue, 19 Mar 2013 10:45:38 +0400
Parents: a62ffb72f403d255c744b27f617ee6b6ac62c216
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f621f0b8e7f1a2d061d37e16f71bcb2000c2a786
Log:
strlen() returns size_t
Changed paths:
M ext/opcache/zend_accelerator_module.c
Diff:
diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c
index 290813c..778fee5 100644
--- a/ext/opcache/zend_accelerator_module.c
+++ b/ext/opcache/zend_accelerator_module.c
@@ -429,7 +429,7 @@ static zval* accelerator_get_scripts(TSRMLS_D)
for (cache_entry = ZCSG(hash).hash_table[i]; cache_entry; cache_entry = cache_entry->next) {
zend_persistent_script *script;
char *str;
- int len;
+ size_t len;
if (cache_entry->indirect) continue;