com php-src: Fixed Bug #70058 Build fails when building for i386: ext/opcache/zend_accelerator_util_funcs.c

From: Date: Mon, 13 Jul 2015 07:05:04 +0000
Subject: com php-src: Fixed Bug #70058 Build fails when building for i386: ext/opcache/zend_accelerator_util_funcs.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87941@lists.php.net to get a copy of this message
Commit: b8eff44b0ea6ea31aa3916c09fb9c54f4922eaf4 Author: Xinchen Hui <laruence@php.net> Mon, 13 Jul 2015 15:05:04 +0800 Parents: 8586e67c1ceba1c4a2b7ab836da9bd12607dbc00 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b8eff44b0ea6ea31aa3916c09fb9c54f4922eaf4 Log: Fixed Bug #70058 Build fails when building for i386 (I don't have a m32 build env, so this is not tested) Bugs: https://bugs.php.net/70058 Changed paths: M ext/opcache/zend_accelerator_util_funcs.c Diff: diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c index a737e8d..715ef07 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) \

« previous php.cvs (#87941) next »