From 1d65b36402c423b21a3f2425ef9579cb457d534c Mon Sep 17 00:00:00 2001 From: JulianHolzwarth Date: Tue, 15 Oct 2019 21:22:42 +0200 Subject: [PATCH] sys/cpp11-compat/thread.cpp: remove cast to int --- sys/cpp11-compat/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cpp11-compat/thread.cpp b/sys/cpp11-compat/thread.cpp index 1d80463981..6fba13af13 100644 --- a/sys/cpp11-compat/thread.cpp +++ b/sys/cpp11-compat/thread.cpp @@ -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(); }