.

Dependencies:   mbed-rtos

Dependents:   Glove

Fork of mbed-rtos by mbed official

Revision:
90:21b438192b0f
Parent:
85:ef0a22cdf839
Child:
107:bdd541595fc5
--- a/rtos/Thread.cpp	Mon Jul 13 09:00:34 2015 +0100
+++ b/rtos/Thread.cpp	Thu Aug 13 09:00:11 2015 +0100
@@ -42,7 +42,7 @@
     }
     
     //Fill the stack with a magic word for maximum usage checking
-    for (int i = 0; i < (stack_size / sizeof(uint32_t)); i++) {
+    for (uint32_t i = 0; i < (stack_size / sizeof(uint32_t)); i++) {
         _thread_def.stack_pointer[i] = 0xE25A2EA5;
     }
 #endif