mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
fix incompatible pointer type warning
This commit is contained in:
parent
ef1505821b
commit
fe39840450
@ -312,7 +312,7 @@ PHP_MINIT_FUNCTION(browscap) /* {{{ */
|
||||
|
||||
#ifdef ZTS
|
||||
ts_allocate_id(&browscap_globals_id, sizeof(browser_data),
|
||||
browscap_globals_ctor, NULL);
|
||||
(ts_allocate_ctor) browscap_globals_ctor, NULL);
|
||||
#endif
|
||||
/* ctor call not really needed for non-ZTS */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user