From 3eaa2331d2f8ec4180b5f25c3717778f7af5a515 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 14 Nov 2019 15:10:56 -0500 Subject: [PATCH] Avoid compiler warning --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index d6c7a533..92786e55 100644 --- a/gc.c +++ b/gc.c @@ -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); }