]> granicus.if.org Git - php/commitdiff
- Reapply netware patch
authorAndi Gutmans <andi@php.net>
Sat, 1 Jun 2002 10:27:51 +0000 (10:27 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 1 Jun 2002 10:27:51 +0000 (10:27 +0000)
sapi/apache/php_apache.c

index 9a331798343b762f33fdc13f2b6204d907780086..812d5ffff9c26c36a340a089a5d300b3755b3c64 100644 (file)
@@ -80,7 +80,7 @@ static void php_apache_globals_ctor(php_apache_info_struct *apache_globals TSRML
 static PHP_MINIT_FUNCTION(apache)
 {
 #ifdef ZTS
-       ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), php_apache_globals_ctor, NULL);
+       ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), (ts_allocate_ctor) php_apache_globals_ctor, NULL);
 #else
        php_apache_globals_ctor(&php_apache_info TSRMLS_CC);
 #endif