From a37a5e5c4ae5c154d6806c43c9e10ba8ac987973 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 16 May 1999 11:32:51 +0000 Subject: [PATCH] char * => unsigned char * --- ext/standard/string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 455300e861..139911c72d 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -45,9 +45,9 @@ static char hexconvtab[] = "0123456789abcdef"; -static char *php_bin2hex(const char *old, const size_t oldlen, size_t *newlen) +static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) { - char *new = NULL; + unsigned char *new = NULL; int i, j; new = (char *) emalloc(oldlen * 2 * sizeof(char)); -- 2.50.1