From dcccfc22670764aa297315f5676ca381cfb89113 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 20 Jun 2011 22:59:55 +0000 Subject: [PATCH] - Fix broken code in 64bit --- Zend/zend_compile.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 98620d44967..332b8cb6f7a 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -134,7 +134,11 @@ typedef struct _zend_try_catch_element { zend_uint catch_op; /* ketchup! */ } zend_try_catch_element; +#if SIZEOF_LONG == 8 +#define THIS_HASHVAL 210728972157UL +#else #define THIS_HASHVAL 275574653UL +#endif /* method flags (types) */ #define ZEND_ACC_STATIC 0x01