Skip to content

Commit

Permalink
core: mute compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegHahm committed Dec 7, 2015
1 parent 875f489 commit a82835a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a82835a

Please sign in to comment.