diff --git a/src/thread/pithread.cpp b/src/thread/pithread.cpp index d2774e0d..060fb861 100755 --- a/src/thread/pithread.cpp +++ b/src/thread/pithread.cpp @@ -137,7 +137,7 @@ bool PIThread::start(int timer_delay) { pthread_attr_destroy(&attr); if (ret == 0) { # ifdef MAC_OS - pthread_threadid_np(thread, (__uint64_t*)&tid_) + pthread_threadid_np(thread, (__uint64_t*)&tid_); # else tid_ = thread; # endif @@ -173,7 +173,7 @@ bool PIThread::startOnce() { pthread_attr_destroy(&attr); if (ret == 0) { # ifdef MAC_OS - pthread_threadid_np(thread, (__uint64_t*)&tid_) + pthread_threadid_np(thread, (__uint64_t*)&tid_); # else tid_ = thread; # endif