diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 20:22:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 20:22:49 +0200 |
commit | 4d997f63d98c663b2d9acccd3655572652f61c7d (patch) | |
tree | bce31fa83a23d3ad58d640d581d498f3bdd0cbf4 /ext/intl/msgformat/msgformat_helpers.cpp | |
parent | 6f9f0bf2056f0dc17d9bcc6dd3b7d28ac878c6fc (diff) | |
download | php-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.cpp | 2 |
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); |