mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/cpp11-compat/thread.cpp: remove cast to int
This commit is contained in:
parent
fbf6a665e1
commit
1d65b36402
@ -42,7 +42,7 @@ void thread::join() {
|
||||
}
|
||||
if (joinable()) {
|
||||
auto status = thread_getstatus(m_handle);
|
||||
if (status != (int)STATUS_NOT_FOUND && status != STATUS_STOPPED) {
|
||||
if (status != STATUS_NOT_FOUND && status != STATUS_STOPPED) {
|
||||
m_data->joining_thread = sched_active_pid;
|
||||
thread_sleep();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user