]> granicus.if.org Git - php/commitdiff
Fixed Bug #70058 Build fails when building for i386
authorXinchen Hui <laruence@php.net>
Mon, 13 Jul 2015 07:05:04 +0000 (15:05 +0800)
committerXinchen Hui <laruence@php.net>
Mon, 13 Jul 2015 07:05:04 +0000 (15:05 +0800)
(I don't have a m32 build env, so this is not tested)

ext/opcache/zend_accelerator_util_funcs.c

index a737e8db6b3e37ddbb127774e786427bde35efc4..715ef07b5f1c7d5de502e0f4d47a5eb5bcaa9980 100644 (file)
@@ -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) \