Maintain legacy RTOS behavior before mbed-5
Fork of mbed-rtos by
Diff: rtos/Thread.cpp
- Revision:
- 90:21b438192b0f
- Parent:
- 85:ef0a22cdf839
- Child:
- 107:bdd541595fc5
diff -r 5aed8bae1001 -r 21b438192b0f rtos/Thread.cpp --- 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