From 3234480827b27ff5d3469a732167afd289632a96 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 27 Aug 2014 15:31:48 +0200 Subject: first show to make 's' work with size_t --- ext/standard/datetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/standard/datetime.c') diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index 80a34a4548..7b6a912244 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -86,9 +86,9 @@ char *strptime(const char *s, const char *format, struct tm *tm); PHP_FUNCTION(strptime) { char *ts; - int ts_length; + size_t ts_length; char *format; - int format_length; + size_t format_length; struct tm parsed_time; char *unparsed_part; -- cgit v1.2.1