felipe                                   Mon, 20 Jun 2011 22:59:55 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312350

Log:
- Fix broken code in 64bit

Changed paths:
    U   php/php-src/branches/PHP_5_4/Zend/zend_compile.h
    U   php/php-src/trunk/Zend/zend_compile.h

Modified: php/php-src/branches/PHP_5_4/Zend/zend_compile.h
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_compile.h    2011-06-20 22:03:50 UTC 
(rev 312349)
+++ php/php-src/branches/PHP_5_4/Zend/zend_compile.h    2011-06-20 22:59:55 UTC 
(rev 312350)
@@ -134,7 +134,11 @@
        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

Modified: php/php-src/trunk/Zend/zend_compile.h
===================================================================
--- php/php-src/trunk/Zend/zend_compile.h       2011-06-20 22:03:50 UTC (rev 
312349)
+++ php/php-src/trunk/Zend/zend_compile.h       2011-06-20 22:59:55 UTC (rev 
312350)
@@ -134,7 +134,11 @@
        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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to