From 063079b62e383036dd24cd6465d3db31edf6cb6d Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 19 Aug 2014 22:57:17 +0200 Subject: ported ext/intl, bugfixes to go --- ext/intl/intl_error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/intl/intl_error.c') 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; } -- cgit v1.2.1