mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed constants in Zend/zend_multiply.h
Conflicts: Zend/zend_multiply.h
This commit is contained in:
parent
a831bd40d0
commit
e622e28972
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
|
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
|
||||||
zend_long64 __result = (zend_long64) (a) * (zend_long64) (b); \
|
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; \
|
(dval) = (double) __result; \
|
||||||
(usedval) = 1; \
|
(usedval) = 1; \
|
||||||
} else { \
|
} else { \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue