summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Verdy <verdy_p@php.net>1999-08-12 10:53:29 +0000
committerPhilippe Verdy <verdy_p@php.net>1999-08-12 10:53:29 +0000
commit646db4f072c61b6ead47f61334c9eb91c92b5544 (patch)
treeb613e0d00a5152e71b3988dfda8d4eb0ce7fa455
parent443b99805e2ed6b3e33d6338e7b424d2bbd9d3b7 (diff)
downloadphp-git-646db4f072c61b6ead47f61334c9eb91c92b5544.tar.gz
signed/unsigned warning removed
-rw-r--r--ext/standard/string.c2
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) {