summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_helpers.cpp
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 20:22:49 +0200
committerAnatol Belski <ab@php.net>2014-08-25 20:22:49 +0200
commit4d997f63d98c663b2d9acccd3655572652f61c7d (patch)
treebce31fa83a23d3ad58d640d581d498f3bdd0cbf4 /ext/intl/msgformat/msgformat_helpers.cpp
parent6f9f0bf2056f0dc17d9bcc6dd3b7d28ac878c6fc (diff)
downloadphp-git-4d997f63d98c663b2d9acccd3655572652f61c7d.tar.gz
master renames phase 3
Diffstat (limited to 'ext/intl/msgformat/msgformat_helpers.cpp')
-rw-r--r--ext/intl/msgformat/msgformat_helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_helpers.cpp b/ext/intl/msgformat/msgformat_helpers.cpp
index 50527b7f06..466db01731 100644
--- a/ext/intl/msgformat/msgformat_helpers.cpp
+++ b/ext/intl/msgformat/msgformat_helpers.cpp
@@ -663,7 +663,7 @@ U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args, UCh
case Formattable::kInt64:
aInt64 = fargs[i].getInt64();
- if(aInt64 > PHP_INT_MAX || aInt64 < -PHP_INT_MAX) {
+ if(aInt64 > ZEND_LONG_MAX || aInt64 < -ZEND_LONG_MAX) {
ZVAL_DOUBLE(&(*args)[i], (double)aInt64);
} else {
ZVAL_LONG(&(*args)[i], (zend_long)aInt64);