Skip to content

Commit 85a7d6d

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

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/libraries/util/sdk_mapped_flags.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void sdk_mapped_flags_bulk_update_by_key(uint16_t * p_keys,
111111
{
112112
if (p_keys[i] == key)
113113
{
114-
for (int j = 0; j < n_flag_collections; j++)
114+
for (uint32_t j = 0; j < n_flag_collections; j++)
115115
{
116116
if (value)
117117
{

0 commit comments

Comments
 (0)