iliaa Fri Oct 25 16:09:53 2002 EDT
Modified files:
/php4/ext/standard string.c
Log:
This is needed for BSD (FreeBSD, BSDi and possibly others), problem
was indentified by Melvyn Sopacua.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.328 php4/ext/standard/string.c:1.329
--- php4/ext/standard/string.c:1.328 Thu Oct 24 15:11:49 2002
+++ php4/ext/standard/string.c Fri Oct 25 16:09:53 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.328 2002/10/24 19:11:49 helly Exp $ */
+/* $Id: string.c,v 1.329 2002/10/25 20:09:53 iliaa Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -984,7 +984,7 @@
*/
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 @@
*/
PHPAPI char *php_strtolower(char *s, size_t len)
{
- char *c, *e;
+ unsigned char *c, *e;
c = s;
e = c+len;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php