hw: correct return type of Kernel::new_thread

ref #1101
This commit is contained in:
Martin Stein 2014-03-15 21:21:14 +01:00 committed by Norman Feske
parent a64372647d
commit 873c3f3984

View File

@ -114,8 +114,8 @@ namespace Kernel
* \retval >0 kernel name of the new thread * \retval >0 kernel name of the new thread
* \retval 0 failed * \retval 0 failed
*/ */
inline int new_thread(void * const p, unsigned const priority, inline unsigned new_thread(void * const p, unsigned const priority,
char const * const label) char const * const label)
{ {
return call(call_id_new_thread(), (Call_arg)p, (Call_arg)priority, return call(call_id_new_thread(), (Call_arg)p, (Call_arg)priority,
(Call_arg)label); (Call_arg)label);