From 9526ca998d93095ec57dce37fc1a39a02004184c Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 25 Oct 2002 20:09:53 +0000 Subject: [PATCH] This is needed for BSD (FreeBSD, BSDi and possibly others), problem was indentified by Melvyn Sopacua. --- 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 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; -- 2.50.1