From: Sascha Schumann Date: Sun, 16 May 1999 11:32:51 +0000 (+0000) Subject: char * => unsigned char * X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a37a5e5c4ae5c154d6806c43c9e10ba8ac987973;p=php char * => unsigned char * --- 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));