moriyoshi Fri Mar 28 12:09:04 2003 EDT Modified files: /php4/main php_variables.c Log: On 64bit platforms, pointers are 64bit long.. Index: php4/main/php_variables.c diff -u php4/main/php_variables.c:1.58 php4/main/php_variables.c:1.59 --- php4/main/php_variables.c:1.58 Thu Mar 27 16:13:47 2003 +++ php4/main/php_variables.c Fri Mar 28 12:09:04 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.58 2003/03/27 21:13:47 moriyoshi Exp $ */ +/* $Id: php_variables.c,v 1.59 2003/03/28 17:09:04 moriyoshi Exp $ */ #include <stdio.h> #include "php.h" @@ -347,7 +347,7 @@ char buf[128]; char **env, *p, *t = buf; size_t alloc_size = sizeof(buf); - unsigned int nlen; /* ptrdiff_t is not portable */ + unsigned long nlen; /* ptrdiff_t is not portable */ /* turn off magic_quotes while importing environment variables */ int magic_quotes_gpc = PG(magic_quotes_gpc);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php