com php-src: Fixed constants in Zend/zend_multiply.h: Z end/zend_multiply.h
| From: | Tjerk Anne Meesters | Date: | Wed, 27 Aug 2014 18:54:02 +0000 |
| Subject: | com php-src: Fixed constants in Zend/zend_multiply.h: Z end/zend_multiply.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81239@lists.php.net to get a copy of this message | ||
Commit: e622e28972930bacadd3d02fc08ef2fb0eb32efa
Author: Andrea Faulds <ajf@ajf.me> Wed, 27 Aug 2014 19:52:13 +0100
Parents: a831bd40d0c1fcfa52cc65231c06d3b9b9f77f92
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e622e28972930bacadd3d02fc08ef2fb0eb32efa
Log:
Fixed constants in Zend/zend_multiply.h
Conflicts:
Zend/zend_multiply.h
Changed paths:
M Zend/zend_multiply.h
Diff:
diff --git a/Zend/zend_multiply.h b/Zend/zend_multiply.h
index 3a1a091..11744c2 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 { \