lwip-sys with changes

Fork of lwip-sys by mbed official

Revision:
15:7d4b24b58e04
Parent:
14:ba056f7b4b37
Child:
16:413514db649c
--- a/arch/sys_arch.c	Thu Nov 06 11:00:51 2014 +0000
+++ b/arch/sys_arch.c	Thu Mar 12 14:31:45 2015 +0000
@@ -427,7 +427,7 @@
     t->def.tpriority = (osPriority)priority;
     t->def.stacksize = stacksize;
 #ifndef __MBED_CMSIS_RTOS_CA9
-    t->def.stack_pointer = (unsigned char*)malloc(stacksize);
+    t->def.stack_pointer = (uint32_t*)malloc(stacksize);
     if (t->def.stack_pointer == NULL) {
       error("Error allocating the stack memory");
     }