diff --git a/src/util/bdthreads.cc b/src/util/bdthreads.cc index b479242..b7990f1 100644 --- a/src/util/bdthreads.cc +++ b/src/util/bdthreads.cc @@ -75,8 +75,7 @@ bdThread::bdThread() void bdThread::join() /* waits for the the mTid thread to stop */ { - void *ptr; - pthread_join(mTid, &ptr); + pthread_join(mTid, NULL); } void bdThread::stop()