Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-F746NG_rtos_test ecte433
Fork of mbed-rtos by
Diff: rtos/Thread.cpp
- Revision:
- 90:21b438192b0f
- Parent:
- 85:ef0a22cdf839
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
