From: Moriyoshi Koizumi Date: Fri, 28 Mar 2003 17:09:04 +0000 (+0000) Subject: On 64bit platforms, pointers are 64bit long.. X-Git-Tag: RELEASE_0_5~307 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1eb238cf22ba9511ad99bb60dd9c811ad7767e2;p=php On 64bit platforms, pointers are 64bit long.. --- 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);