mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
On 64bit platforms, pointers are 64bit long..
This commit is contained in:
parent
0e73275429
commit
e1eb238cf2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue