mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-21 22:59:16 +02:00
Avoid compiler warning
This commit is contained in:
parent
95d1200df0
commit
3eaa2331d2
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -2630,7 +2630,7 @@ static pthread_t collector_thread;
|
||||||
void gc_start_collector()
|
void gc_start_collector()
|
||||||
{
|
{
|
||||||
if (pthread_create
|
if (pthread_create
|
||||||
(&collector_thread, NULL, collector_main, &collector_thread)) {
|
(&collector_thread, NULL, collector_main, NULL)) {
|
||||||
fprintf(stderr, "Error creating collector thread\n");
|
fprintf(stderr, "Error creating collector thread\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue