summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-12 11:02:24 +0000
committerSascha Schumann <sas@php.net>1999-12-12 11:02:24 +0000
commit5928624a1cfe20ea2f83a713dcbdf455ee413962 (patch)
tree4115f8223201a4beea4210f739afdd827c0f2c9c
parentecb6e75addb0bc11375b88883c50f9d2008de7da (diff)
downloadphp-git-5928624a1cfe20ea2f83a713dcbdf455ee413962.tar.gz
Kill a warning
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index d474958b4e..6043d32279 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -127,7 +127,7 @@ static void php_zlib_init_globals(ZLIBLS_D)
PHP_MINIT_FUNCTION(zlib)
{
#ifdef ZTS
- zlib_globals_id = ts_allocate_id(sizeof(php_zlib_globals), php_zlib_init_globals, NULL);
+ zlib_globals_id = ts_allocate_id(sizeof(php_zlib_globals), (ts_allocate_ctor) php_zlib_init_globals, NULL);
#else
ZLIBG(gzgetss_state)=0;
#endif