mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 14:29:54 +00:00
[clang-tidy] fix bugprone-too-small-loop-variable warnings (#9321)
This commit is contained in:
@@ -442,7 +442,7 @@ void TestMacChannelMask(void)
|
||||
VerifyChannelMaskContent(mask1, allChannels, sizeof(allChannels));
|
||||
|
||||
// Test ChannelMask::RemoveChannel()
|
||||
for (uint8_t index = 0; index < sizeof(allChannels) - 1; index++)
|
||||
for (size_t index = 0; index < sizeof(allChannels) - 1; index++)
|
||||
{
|
||||
mask1.RemoveChannel(allChannels[index]);
|
||||
VerifyChannelMaskContent(mask1, &allChannels[index + 1], sizeof(allChannels) - 1 - index);
|
||||
|
||||
Reference in New Issue
Block a user