From a82835a72b03fd0a9a348e767806fc2d39a46c7c Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Sat, 28 Nov 2015 14:16:46 +0100 Subject: [PATCH] core: mute compiler warning --- core/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/thread.c b/core/thread.c index f1a770dbfb..2af644b603 100644 --- a/core/thread.c +++ b/core/thread.c @@ -42,7 +42,7 @@ volatile tcb_t *thread_get(kernel_pid_t pid) int thread_getstatus(kernel_pid_t pid) { volatile tcb_t *t = thread_get(pid); - return t ? t->status : STATUS_NOT_FOUND; + return t ? (int) t->status : STATUS_NOT_FOUND; } #ifdef DEVELHELP