diff options
| author | tyustli <[email protected]> | 2019-06-18 20:09:19 +0800 |
|---|---|---|
| committer | tyustli <[email protected]> | 2019-06-18 20:09:19 +0800 |
| commit | d8eb0cfc1e119b81290a460883f427a38d572617 (patch) | |
| tree | 9cf38a4283ea507e3349ecb8c449cb1da0fcc789 /src/thread.c | |
| parent | 34059c40c42c53a541822834d8d9092c640f45b3 (diff) | |
fix kernel and framework no cast type error
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index 276bba9938..ab203b1d49 100644 --- a/src/thread.c +++ b/src/thread.c @@ -141,7 +141,7 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread, (void *)rt_thread_exit); #else thread->sp = (void *)rt_hw_stack_init(thread->entry, thread->parameter, - (void *)((char *)thread->stack_addr + thread->stack_size - sizeof(rt_ubase_t)), + (rt_uint8_t *)((char *)thread->stack_addr + thread->stack_size - sizeof(rt_ubase_t)), (void *)rt_thread_exit); #endif |
