summaryrefslogtreecommitdiff
path: root/ext/standard/file.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/standard/file.c
parent9417570dc1f31a0e3ddb9f6736a547c87ce7cfba (diff)
downloadphp-git-4a60eed46934950013039f8ca26b7c61f3d06d39.tar.gz
Fix some warnings
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 60e6eb68fe..df2c2af36a 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -325,7 +325,7 @@ PHP_MINIT_FUNCTION(file)
le_uploads = register_list_destructors(_file_upload_dtor, NULL);
#ifdef ZTS
- file_globals_id = ts_allocate_id(sizeof(php_file_globals), php_file_init_globals, NULL);
+ file_globals_id = ts_allocate_id(sizeof(php_file_globals), (ts_allocate_ctor) php_file_init_globals, NULL);
#else
FIL(fgetss_state) = 0;
FIL(pclose_ret) = 0;