From 4a60eed46934950013039f8ca26b7c61f3d06d39 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 5 Dec 1999 16:25:32 +0000 Subject: Fix some warnings --- ext/pcre/php_pcre.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pcre/php_pcre.c') diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 1dd70ec31a..7adc62b7a7 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -102,8 +102,8 @@ static PHP_MINIT_FUNCTION(pcre) #ifdef ZTS pcre_globals_id = ts_allocate_id( sizeof(php_pcre_globals), - _php_pcre_init_globals, - _php_pcre_shutdown_globals); + (ts_allocate_ctor) _php_pcre_init_globals, + (ts_allocate_dtor) _php_pcre_shutdown_globals); #else zend_hash_init(&PCRE_G(pcre_cache), 0, NULL, _php_free_pcre_cache, 1); #endif -- cgit v1.2.1