Fix some warnings in lwip bertos implementation
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 5 Jan 2012 17:25:57 +0000 (17:25 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 5 Jan 2012 17:25:57 +0000 (17:25 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5217 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/net/lwip/src/arch/sys_arch.c

index d626f0cfd09933c66d6d9c9e3462808fa95dfd5d..adbb8fbc6a0d0c5af373e906bf0aa6c360565b72 100644 (file)
@@ -360,7 +360,7 @@ sys_thread_t sys_thread_new(const char *name, void (* thread)(void *arg),
 
        #if !CONFIG_KERN_HEAP
                ASSERT(stacksize <= DEFAULT_THREAD_STACKSIZE);
-               PROC_ATOMIC(stackbase = &thread_stack[last_stack++]);
+               PROC_ATOMIC(stackbase = thread_stack[last_stack++]);
        #else
                stackbase = NULL;
        #endif