Merge pull request #1293 from jrjang/master

Fix compilation warning
pull/1144/merge
Martin Kojtal 2015-08-13 08:46:01 +01:00
commit d5794135d2
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Thread::Thread(void (*task)(void const *argument), void *argument,
}
//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