summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 { \