core: mute compiler warning

This commit is contained in:
Oleg Hahm 2015-11-28 14:16:46 +01:00
parent 875f48979a
commit a82835a72b

View File

@ -42,7 +42,7 @@ volatile tcb_t *thread_get(kernel_pid_t pid)
int thread_getstatus(kernel_pid_t pid) int thread_getstatus(kernel_pid_t pid)
{ {
volatile tcb_t *t = thread_get(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 #ifdef DEVELHELP