diff options
author | Anatol Belski <ab@php.net> | 2014-08-19 22:57:17 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-19 22:57:17 +0200 |
commit | 063079b62e383036dd24cd6465d3db31edf6cb6d (patch) | |
tree | fdbf5ac3e408fbd7ef46be5ffc3d65b33eaccc24 /ext/intl/intl_error.c | |
parent | 729bce4321b54e7054a88c0d90f4d102729ba570 (diff) | |
download | php-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.c | 4 |
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; } |