Avoid compiler warning

This commit is contained in:
Justin Ethier 2019-11-14 15:10:56 -05:00
parent 95d1200df0
commit 3eaa2331d2

2
gc.c
View file

@ -2630,7 +2630,7 @@ static pthread_t collector_thread;
void gc_start_collector()
{
if (pthread_create
(&collector_thread, NULL, collector_main, &collector_thread)) {
(&collector_thread, NULL, collector_main, NULL)) {
fprintf(stderr, "Error creating collector thread\n");
exit(1);
}