Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.

Dependents:   Assignment_3__Embedded_Software

Fork of mbed-rtos by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Aug 13 09:00:11 2015 +0100
Parent:
89:5aed8bae1001
Child:
91:9d001ed5feec
Commit message:
Synchronized with git revision d5794135d260aff7a9cefc216f56869f9b9f5a94

Full URL: https://github.com/mbedmicro/mbed/commit/d5794135d260aff7a9cefc216f56869f9b9f5a94/

Fix compilation warning

Changed in this revision

rtos/Thread.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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