From: Xinchen Hui Date: Mon, 13 Jul 2015 07:05:04 +0000 (+0800) Subject: Fixed Bug #70058 Build fails when building for i386 X-Git-Tag: php-7.1.1RC1~35^2~12^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8eff44b0ea6ea31aa3916c09fb9c54f4922eaf4;p=php Fixed Bug #70058 Build fails when building for i386 (I don't have a m32 build env, so this is not tested) --- 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) \