On 64bit platforms, pointers are 64bit long..

This commit is contained in:
Moriyoshi Koizumi 2003-03-28 17:09:04 +00:00
parent 0e73275429
commit e1eb238cf2

View file

@ -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);