cvs: ZendEngine2(PHP_5_2) / zend_operators.c
| From: | Antony Dovgal | Date: | Tue, 18 Jul 2006 08:17:28 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_2) / zend_operators.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5077@lists.php.net to get a copy of this message | ||
tony2001 Tue Jul 18 08:17:28 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend_operators.c
Log:
MFH: fix DVAL_TO_LVAL() on AIX with old gcc
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.c?r1=1.208.2.4.2.5&r2=1.208.2.4.2.6&diff_format=u
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.208.2.4.2.5 ZendEngine2/zend_operators.c:1.208.2.4.2.6
--- ZendEngine2/zend_operators.c:1.208.2.4.2.5 Sun Jul 9 18:03:42 2006
+++ ZendEngine2/zend_operators.c Tue Jul 18 08:17:28 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_operators.c,v 1.208.2.4.2.5 2006/07/09 18:03:42 helly Exp $ */
+/* $Id: zend_operators.c,v 1.208.2.4.2.6 2006/07/18 08:17:28 tony2001 Exp $ */
#include <ctype.h>
@@ -188,7 +188,7 @@
}
-#define DVAL_TO_LVAL(d, l) (l) = (d) > LONG_MAX ? (unsigned long) (d) : (long) (d)
+#define DVAL_TO_LVAL(d, l) ((l) = (d)) > LONG_MAX ? (unsigned long) (d) : (long) (d)
#define zendi_convert_to_long(op, holder, result) \
if (op == result) { \