summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_parse.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-27 15:31:48 +0200
committerAnatol Belski <ab@php.net>2014-08-27 20:49:31 +0200
commit3234480827b27ff5d3469a732167afd289632a96 (patch)
tree485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/intl/dateformat/dateformat_parse.c
parentee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff)
downloadphp-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz
first show to make 's' work with size_t
Diffstat (limited to 'ext/intl/dateformat/dateformat_parse.c')
-rw-r--r--ext/intl/dateformat/dateformat_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/dateformat/dateformat_parse.c b/ext/intl/dateformat/dateformat_parse.c
index 628379e3b3..3b3eea031a 100644
--- a/ext/intl/dateformat/dateformat_parse.c
+++ b/ext/intl/dateformat/dateformat_parse.c
@@ -128,7 +128,7 @@ static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* tex
PHP_FUNCTION(datefmt_parse)
{
char* text_to_parse = NULL;
- int32_t text_len =0;
+ size_t text_len =0;
zval* z_parse_pos = NULL;
int32_t parse_pos = -1;