From: asterix Date: Thu, 5 Jan 2012 17:25:57 +0000 (+0000) Subject: Fix some warnings in lwip bertos implementation X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3971934daffeaa21a6cc4f2b86e38714f7e092c8;p=bertos.git Fix some warnings in lwip bertos implementation git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5217 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/net/lwip/src/arch/sys_arch.c b/bertos/net/lwip/src/arch/sys_arch.c index d626f0cf..adbb8fbc 100644 --- a/bertos/net/lwip/src/arch/sys_arch.c +++ b/bertos/net/lwip/src/arch/sys_arch.c @@ -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