This is needed for BSD (FreeBSD, BSDi and possibly others), problem

was indentified by Melvyn Sopacua.
This commit is contained in:
Ilia Alshanetsky 2002-10-25 20:09:53 +00:00
parent fdd2cb6024
commit 9526ca998d

View file

@ -984,7 +984,7 @@ restore:
*/ */
PHPAPI char *php_strtoupper(char *s, size_t len) PHPAPI char *php_strtoupper(char *s, size_t len)
{ {
char *c, *e; unsigned char *c, *e;
c = s; c = s;
e = c+len; e = c+len;
@ -1018,7 +1018,7 @@ PHP_FUNCTION(strtoupper)
*/ */
PHPAPI char *php_strtolower(char *s, size_t len) PHPAPI char *php_strtolower(char *s, size_t len)
{ {
char *c, *e; unsigned char *c, *e;
c = s; c = s;
e = c+len; e = c+len;