diff options
| author | Bernard Xiong <[email protected]> | 2016-06-01 10:15:09 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2016-06-01 10:15:09 +0800 |
| commit | c8b546bb783946aa56d39df48b9ed62f082c4286 (patch) | |
| tree | b34e72467208f2555aebcb4ca7fb7fe205a2a3ed /src | |
| parent | c8cfc14b82c633c7153113ac1f753695254d4bd6 (diff) | |
| parent | 62e770f9de9f6a208f01b6458e54d2400699238e (diff) | |
Merge pull request #636 from weety/fixed
Fixed
Diffstat (limited to 'src')
| -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 832bd7502a..487c005b65 100644 --- a/src/thread.c +++ b/src/thread.c @@ -98,7 +98,7 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread, /* stack init */ thread->stack_addr = stack_start; - thread->stack_size = (rt_uint16_t)stack_size; + thread->stack_size = stack_size; /* init thread stack */ rt_memset(thread->stack_addr, '#', thread->stack_size); |
