diff options
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index add436b79a..b85433e262 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -38,7 +38,7 @@ static char hexconvtab[] = "0123456789abcdef"; static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) { unsigned char *new = NULL; - int i, j; + size_t i, j; new = (char *) emalloc(oldlen * 2 * sizeof(char)); if(!new) { |