]> granicus.if.org Git - php/commitdiff
On 64bit platforms, pointers are 64bit long..
authorMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 28 Mar 2003 17:09:04 +0000 (17:09 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 28 Mar 2003 17:09:04 +0000 (17:09 +0000)
main/php_variables.c

index 4be4d242b6cc10e39b657d256a39375fc6d40574..ced5fe0158d32f4a69ff1131d28073ed168261e2 100644 (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);