summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-07-18 09:00:10 +0000
committerAntony Dovgal <tony2001@php.net>2006-07-18 09:00:10 +0000
commit7f9a43653c229193b2c181e20150ab108052cea7 (patch)
tree28c6ce446aba250c94e11050f79dd9c25b7ab4ed /Zend/zend_operators.c
parent7a089a43af66a69981d3244ee26b8aec13b0a2fe (diff)
downloadphp-git-7f9a43653c229193b2c181e20150ab108052cea7.tar.gz
fix logic
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index b197d6ed92..85a29f828f 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -188,7 +188,7 @@ ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC)
}
-#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) { \