summaryrefslogtreecommitdiff
path: root/ext/standard/datetime.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/standard/datetime.c
parentee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff)
downloadphp-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz
first show to make 's' work with size_t
Diffstat (limited to 'ext/standard/datetime.c')
-rw-r--r--ext/standard/datetime.c4
1 files changed, 2 insertions, 2 deletions
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;