More non-cppthreads build fixes
This commit is contained in:
@@ -783,7 +783,7 @@ plat_set_thread_name(void *thread, const char *name)
|
||||
if (!thread)
|
||||
pthread_setname_np(truncated);
|
||||
# else
|
||||
pthread_setname_np(thread ? (pthread_t) thread : pthread_self(), truncated);
|
||||
pthread_setname_np(thread ? *((pthread_t *) thread) : pthread_self(), truncated);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user