diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 8c536a06a6..8a09b401e8 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -2425,7 +2425,7 @@ u64 thread_base::get_cycles() #ifdef _WIN32 _endthreadex(0); #else - pthread_exit(0); + pthread_exit(nullptr); #endif }