summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_persist_calc.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 19:28:33 +0200
committerAnatol Belski <ab@php.net>2014-08-25 19:28:33 +0200
commit6f9f0bf2056f0dc17d9bcc6dd3b7d28ac878c6fc (patch)
tree0866cc3799560c2eee9a7d84940dbfe615f50c5c /ext/opcache/zend_persist_calc.c
parentc3e3c98ec666812daaaca896cf5ef758a8a6df14 (diff)
downloadphp-git-6f9f0bf2056f0dc17d9bcc6dd3b7d28ac878c6fc.tar.gz
master renames phase 2
Diffstat (limited to 'ext/opcache/zend_persist_calc.c')
-rw-r--r--ext/opcache/zend_persist_calc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/zend_persist_calc.c b/ext/opcache/zend_persist_calc.c
index 1ffc98597a..1328213397 100644
--- a/ext/opcache/zend_persist_calc.c
+++ b/ext/opcache/zend_persist_calc.c
@@ -61,7 +61,7 @@ static uint zend_hash_persist_calc(HashTable *ht, uint (*pPersistElement)(zval *
if (ht->u.flags & HASH_FLAG_PACKED) {
ADD_SIZE(sizeof(Bucket) * ht->nNumUsed);
} else {
- ADD_SIZE(sizeof(Bucket) * ht->nNumUsed + sizeof(zend_uint) * ht->nTableSize);
+ ADD_SIZE(sizeof(Bucket) * ht->nNumUsed + sizeof(uint32_t) * ht->nTableSize);
}
for (idx = 0; idx < ht->nNumUsed; idx++) {
@@ -194,7 +194,7 @@ static uint zend_persist_op_array_calc_ex(zend_op_array *op_array TSRMLS_DC)
}
if (op_array->arg_info) {
- zend_uint i;
+ uint32_t i;
ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
for (i = 0; i < op_array->num_args; i++) {