summaryrefslogtreecommitdiff
path: root/ext/intl/intl_error.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-19 22:57:17 +0200
committerAnatol Belski <ab@php.net>2014-08-19 22:57:17 +0200
commit063079b62e383036dd24cd6465d3db31edf6cb6d (patch)
treefdbf5ac3e408fbd7ef46be5ffc3d65b33eaccc24 /ext/intl/intl_error.c
parent729bce4321b54e7054a88c0d90f4d102729ba570 (diff)
downloadphp-git-063079b62e383036dd24cd6465d3db31edf6cb6d.tar.gz
ported ext/intl, bugfixes to go
Diffstat (limited to 'ext/intl/intl_error.c')
-rw-r--r--ext/intl/intl_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/intl_error.c b/ext/intl/intl_error.c
index d7f215d4e4..a94b076511 100644
--- a/ext/intl/intl_error.c
+++ b/ext/intl/intl_error.c
@@ -258,7 +258,7 @@ smart_str intl_parse_error_to_string( UParseError* pe )
if( pe->line > 0 )
{
smart_str_appends( &ret, "on line " );
- smart_str_append_int( &ret, (long ) pe->line );
+ smart_str_append_int( &ret, (php_int_t ) pe->line );
any = 1;
}
if( pe->offset >= 0 ) {
@@ -268,7 +268,7 @@ smart_str intl_parse_error_to_string( UParseError* pe )
smart_str_appends( &ret, "at " );
smart_str_appends( &ret, "offset " );
- smart_str_append_int( &ret, (long ) pe->offset );
+ smart_str_append_int( &ret, (php_int_t ) pe->offset );
any = 1;
}