From: Ilia Alshanetsky Date: Fri, 25 Oct 2002 20:09:53 +0000 (+0000) Subject: This is needed for BSD (FreeBSD, BSDi and possibly others), problem X-Git-Tag: php-4.3.0pre2~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9526ca998d93095ec57dce37fc1a39a02004184c;p=php This is needed for BSD (FreeBSD, BSDi and possibly others), problem was indentified by Melvyn Sopacua. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 588943ebe4..b7e42c819c 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -984,7 +984,7 @@ restore: */ PHPAPI char *php_strtoupper(char *s, size_t len) { - char *c, *e; + unsigned char *c, *e; c = s; e = c+len; @@ -1018,7 +1018,7 @@ PHP_FUNCTION(strtoupper) */ PHPAPI char *php_strtolower(char *s, size_t len) { - char *c, *e; + unsigned char *c, *e; c = s; e = c+len;