diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-06-05 13:54:57 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-06-05 13:54:57 +0300 |
commit | 869f662cddcba81b03cb95651c7fdbe06f4b3458 (patch) | |
tree | 1b66443bc274ec6a8deed7e67314c6c865450406 /ext/opcache/zend_shared_alloc.c | |
parent | 3186f913ebafad6cb272d85c4f3a34288b3da50c (diff) | |
download | php-git-869f662cddcba81b03cb95651c7fdbe06f4b3458.tar.gz |
Use better zend_hash_* functions
Diffstat (limited to 'ext/opcache/zend_shared_alloc.c')
-rw-r--r-- | ext/opcache/zend_shared_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c index 19b51e7c59..ca50ab9219 100644 --- a/ext/opcache/zend_shared_alloc.c +++ b/ext/opcache/zend_shared_alloc.c @@ -435,7 +435,7 @@ void zend_shared_alloc_clear_xlat_table(void) void zend_shared_alloc_register_xlat_entry(const void *old, const void *new) { - zend_hash_index_update_ptr(&ZCG(xlat_table), (zend_ulong)old, (void*)new); + zend_hash_index_add_new_ptr(&ZCG(xlat_table), (zend_ulong)old, (void*)new); } void *zend_shared_alloc_get_xlat_entry(const void *old) |