summaryrefslogtreecommitdiff
path: root/Zend/zend_multiply.h
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-08-27 19:52:13 +0100
committerAndrea Faulds <ajf@ajf.me>2014-08-27 19:54:02 +0100
commite622e28972930bacadd3d02fc08ef2fb0eb32efa (patch)
treed0848897a0e4c05d7fe68425c8c9877b68f4fa01 /Zend/zend_multiply.h
parenta831bd40d0c1fcfa52cc65231c06d3b9b9f77f92 (diff)
downloadphp-git-e622e28972930bacadd3d02fc08ef2fb0eb32efa.tar.gz
Fixed constants in Zend/zend_multiply.h
Conflicts: Zend/zend_multiply.h
Diffstat (limited to 'Zend/zend_multiply.h')
-rw-r--r--Zend/zend_multiply.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_multiply.h b/Zend/zend_multiply.h
index 3a1a091b0a..11744c2699 100644
--- a/Zend/zend_multiply.h
+++ b/Zend/zend_multiply.h
@@ -85,7 +85,7 @@
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
zend_long64 __result = (zend_long64) (a) * (zend_long64) (b); \
- if (__result > ZEND_INT_MAX || __result < ZEND_INT_MIN) { \
+ if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) { \
(dval) = (double) __result; \
(usedval) = 1; \
} else { \