From e1eb238cf22ba9511ad99bb60dd9c811ad7767e2 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Fri, 28 Mar 2003 17:09:04 +0000 Subject: On 64bit platforms, pointers are 64bit long.. --- main/php_variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_variables.c') diff --git a/main/php_variables.c b/main/php_variables.c index 4be4d242b6..ced5fe0158 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -347,7 +347,7 @@ void _php_import_environment_variables(zval *array_ptr TSRMLS_DC) 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); -- cgit v1.2.1