]> granicus.if.org Git - php/commitdiff
This is needed for BSD (FreeBSD, BSDi and possibly others), problem
authorIlia Alshanetsky <iliaa@php.net>
Fri, 25 Oct 2002 20:09:53 +0000 (20:09 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 25 Oct 2002 20:09:53 +0000 (20:09 +0000)
was indentified by Melvyn Sopacua.

ext/standard/string.c

index 588943ebe4909fa00fb1e89bfd4cb536a39ffa56..b7e42c819c8842c41cd8281274ec88faaf544803 100644 (file)
@@ -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;