Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a82835a

Browse files
committedDec 7, 2015
core: mute compiler warning
1 parent 875f489 commit a82835a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/thread.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ volatile tcb_t *thread_get(kernel_pid_t pid)
4242
int thread_getstatus(kernel_pid_t pid)
4343
{
4444
volatile tcb_t *t = thread_get(pid);
45-
return t ? t->status : STATUS_NOT_FOUND;
45+
return t ? (int) t->status : STATUS_NOT_FOUND;
4646
}
4747

4848
#ifdef DEVELHELP

0 commit comments

Comments
 (0)
Please sign in to comment.