From b8eff44b0ea6ea31aa3916c09fb9c54f4922eaf4 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 13 Jul 2015 15:05:04 +0800 Subject: [PATCH] Fixed Bug #70058 Build fails when building for i386 (I don't have a m32 build env, so this is not tested) --- ext/opcache/zend_accelerator_util_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c index a737e8db6b..715ef07b5f 100644 --- a/ext/opcache/zend_accelerator_util_funcs.c +++ b/ext/opcache/zend_accelerator_util_funcs.c @@ -31,7 +31,7 @@ # define accel_xlat_get(old) zend_hash_index_find_ptr(&ZCG(bind_hash), (zend_ulong)(zend_uintptr_t)(old)) #else # define accel_xlat_set(old, new) (zend_hash_str_add_new_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (zend_ulong)(zend_uintptr_t)(old), (void**)&(new)) -# define accel_xlat_get(old, new) ((new) = zend_hash_str_find_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*), (zend_ulong)(zend_uintptr_t)(old), (void**)&(new))) +# define accel_xlat_get(old) zend_hash_str_find_ptr(&ZCG(bind_hash), (char*)&(old), sizeof(void*)) #endif #define ARENA_REALLOC(ptr) \ -- 2.50.1