[clang-tidy] fix bugprone-too-small-loop-variable warnings (#9321)

This commit is contained in:
Jonathan Hui
2023-08-01 16:52:34 -07:00
committed by GitHub
parent 94822eadb5
commit 7d6740c9b5
14 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -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);