1
0
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:
JulianHolzwarth 2019-10-15 21:22:42 +02:00
parent fbf6a665e1
commit 1d65b36402

View File

@ -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();
}