[sgen] Fix function signature
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 4 Jul 2017 15:59:05 +0000 (18:59 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Thu, 20 Jul 2017 10:53:50 +0000 (13:53 +0300)
mono/sgen/sgen-thread-pool.c

index d1f6d99dadbe8f6855fa2cc590a02d8c29c5e135..211bc8b7277975471954dec78c7775c9a8e8c9f6 100644 (file)
@@ -167,8 +167,9 @@ get_work (int worker_index, int *work_context, int *do_idle, SgenThreadPoolJob *
 }
 
 static mono_native_thread_return_t
-thread_func (int worker_index)
+thread_func (void *data)
 {
+       int worker_index = (int)(gsize)data;
        int current_context;
        void *thread_data = NULL;