cvs: pecl /intl/dateformat dateformat_parse.c

From: Date: Tue, 08 Apr 2008 17:17:37 +0000
Subject: cvs: pecl /intl/dateformat dateformat_parse.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10320@lists.php.net to get a copy of this message
stas Tue Apr 8 17:17:37 2008 UTC Modified files: /pecl/intl/dateformat dateformat_parse.c Log: udat_parse takes int as position http://cvs.php.net/viewvc.cgi/pecl/intl/dateformat/dateformat_parse.c?r1=1.8&r2=1.9&diff_format=u Index: pecl/intl/dateformat/dateformat_parse.c diff -u pecl/intl/dateformat/dateformat_parse.c:1.8 pecl/intl/dateformat/dateformat_parse.c:1.9 --- pecl/intl/dateformat/dateformat_parse.c:1.8 Thu Apr 3 20:58:15 2008 +++ pecl/intl/dateformat/dateformat_parse.c Tue Apr 8 17:17:37 2008 @@ -33,7 +33,7 @@ * if set to 1 - store any error encountered in the parameter parse_error * if set to 0 - no need to store any error encountered in the parameter parse_error */ -static void internal_parse_to_timestamp(DateFormatter_object *mfo, char* text_to_parse , int32_t text_len, long parse_pos , zval *return_value TSRMLS_DC){ +static void internal_parse_to_timestamp(DateFormatter_object *mfo, char* text_to_parse , int32_t text_len, int parse_pos , zval *return_value TSRMLS_DC){ long result = 0; UDate timestamp =0; UChar* text_utf16 = NULL; @@ -78,7 +78,7 @@ /* {{{ * Internal function which calls the udat_parseCalendar */ -static void internal_parse_to_localtime(DateFormatter_object *mfo, char* text_to_parse , int32_t text_len, long parse_pos , zval *return_value TSRMLS_DC){ +static void internal_parse_to_localtime(DateFormatter_object *mfo, char* text_to_parse , int32_t text_len, int parse_pos , zval *return_value TSRMLS_DC){ UCalendar* parsed_calendar = NULL ; UChar* text_utf16 = NULL; int32_t text_utf16_len = 0;

« previous php.pecl.cvs (#10320) next »