summaryrefslogtreecommitdiff
path: root/ext/standard/versioning.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/versioning.c')
-rw-r--r--ext/standard/versioning.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/versioning.c b/ext/standard/versioning.c
index aadbcaf84a..ffdd5abf0d 100644
--- a/ext/standard/versioning.c
+++ b/ext/standard/versioning.c
@@ -1,8 +1,8 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2013 The PHP Group |
+ | Copyright (c) 1997-2014 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -211,7 +211,7 @@ php_version_compare(const char *orig_ver1, const char *orig_ver2)
PHP_FUNCTION(version_compare)
{
char *v1, *v2, *op = NULL;
- int v1_len, v2_len, op_len = 0;
+ size_t v1_len, v2_len, op_len = 0;
int compare, argc;
argc = ZEND_NUM_ARGS();