Skip to content

Commit fe39840

Browse files
committed
fix incompatible pointer type warning
1 parent ef15058 commit fe39840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/browscap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ PHP_MINIT_FUNCTION(browscap) /* {{{ */
312312

313313
#ifdef ZTS
314314
ts_allocate_id(&browscap_globals_id, sizeof(browser_data),
315-
browscap_globals_ctor, NULL);
315+
(ts_allocate_ctor) browscap_globals_ctor, NULL);
316316
#endif
317317
/* ctor call not really needed for non-ZTS */
318318

0 commit comments

Comments
 (0)