core: mute compiler warning
This commit is contained in:
parent
875f48979a
commit
a82835a72b
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user