| Antony Dovgal 2006-07-18, 3:56 am |
| tony2001 Tue Jul 18 09:00:11 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend_operators.c
Log:
fix logic
http://cvs.php.net/viewvc.cgi/ZendE...7&diff_format=u
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.208.2.4.2.6 ZendEngine2/zend_operators.c:1.208.2.4.2.7
--- ZendEngine2/zend_operators.c:1.208.2.4.2.6 Tue Jul 18 08:17:28 2006
+++ ZendEngine2/zend_operators.c Tue Jul 18 09:00:10 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_operators.c,v 1.208.2.4.2.6 2006/07/18 08:17:28 tony2001 Exp $ */
+/* $Id: zend_operators.c,v 1.208.2.4.2.7 2006/07/18 09:00:10 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) { \
|