]> granicus.if.org Git - php/commitdiff
- Fix broken code in 64bit
authorFelipe Pena <felipe@php.net>
Mon, 20 Jun 2011 22:59:55 +0000 (22:59 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 20 Jun 2011 22:59:55 +0000 (22:59 +0000)
Zend/zend_compile.h

index 98620d449670752bdc6ddda38fb3197f24d63825..332b8cb6f7afbf325bfddab7496919880cafa546 100644 (file)
@@ -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