From f621f0b8e7f1a2d061d37e16f71bcb2000c2a786 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 19 Mar 2013 10:45:38 +0400 Subject: [PATCH] strlen() returns size_t --- ext/opcache/zend_accelerator_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index 290813c06b..778fee54b3 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; -- 2.40.0