summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-22 22:47:18 +0000
committerSascha Schumann <sas@php.net>1999-12-22 22:47:18 +0000
commit5eeb9db45702d684b584d9689d3577915eea027b (patch)
treeb8470d383104e7a0a32dff1da702f0bcdf94f964 /ext
parent473632bf0d7275a015acd228c738b6f916d9af01 (diff)
downloadphp-git-5eeb9db45702d684b584d9689d3577915eea027b.tar.gz
Kill compiler warning
Diffstat (limited to 'ext')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 7094ba0764..a6d3dcbf75 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -301,7 +301,7 @@ PHP_MINIT_FUNCTION(mysql)
ELS_FETCH();
#ifdef ZTS
- mysql_globals_id = ts_allocate_id(sizeof(php_mysql_globals), php_mysql_init_globals, NULL);
+ mysql_globals_id = ts_allocate_id(sizeof(php_mysql_globals), (ts_allocate_ctor) php_mysql_init_globals, NULL);
#else
MySG(num_persistent)=0;
#endif