[freertos] Silence sign-conversion warning

This commit is contained in:
Renz Bagaporo
2020-12-17 10:52:15 +08:00
committed by Angus Gratton
parent 92ae75f955
commit ff2d9fd96c
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ extern "C" {
#if SOC_CPU_CORES_NUM > 1
// Utility functions for multicore targets
#define __SOC_HAL_PERFORM_ON_OTHER_CORES(action) { \
for (int i = 0, cur = cpu_hal_get_core_id(); i < SOC_CPU_CORES_NUM; i++) { \
for (uint32_t i = 0, cur = cpu_hal_get_core_id(); i < SOC_CPU_CORES_NUM; i++) { \
if (i != cur) { \
action(i); \
} \