summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-05 16:25:32 +0000
committerSascha Schumann <sas@php.net>1999-12-05 16:25:32 +0000
commit4a60eed46934950013039f8ca26b7c61f3d06d39 (patch)
tree5357b89373e1b5ea49dde2bae76cacfe94eba228 /ext/pcre/php_pcre.c
parent9417570dc1f31a0e3ddb9f6736a547c87ce7cfba (diff)
downloadphp-git-4a60eed46934950013039f8ca26b7c61f3d06d39.tar.gz
Fix some warnings
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c4
1 files changed, 2 insertions, 2 deletions
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