diff options
| author | Bernard Xiong <[email protected]> | 2019-06-19 15:33:27 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-19 15:33:27 +0800 |
| commit | d8702aa5685a1b91bac7f594322a434afc63b6c3 (patch) | |
| tree | 3d4ef748043d99e3bf4244e948e70fee0ef7996e /src/thread.c | |
| parent | efab8a25c3fcdc50d4518651a60b8b4a172e8c2f (diff) | |
| parent | d8eb0cfc1e119b81290a460883f427a38d572617 (diff) | |
Merge pull request #2793 from tyustli/cpp11_error
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 |
