Skip to content

Commit bf28f88

Browse files
committed
TARGET_MCU_NRF51822 - Fix comparison between signed and unsigned integer.
1 parent 85a7d6d commit bf28f88

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/libraries/fstorage

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/libraries/fstorage/fstorage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ void fs_debug_print()
559559
printf("Num items: 0x%08lx\r\n", (unsigned long)FS_SECTION_VARS_COUNT);
560560
printf("===== ITEMS %lu =====\r\n", (unsigned long)FS_SECTION_VARS_COUNT);
561561

562-
for(int i = 0; i < FS_SECTION_VARS_COUNT; i++)
562+
for(uint32_t i = 0; i < FS_SECTION_VARS_COUNT; i++)
563563
{
564564
fs_config_t* config = FS_SECTION_VARS_GET(i);
565565
printf( "Address: 0x%08lx, CB: 0x%08lx\r\n",

0 commit comments

Comments
 (0)