mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 12:47:47 +00:00
[clang-tidy] fix bugprone-too-small-loop-variable warnings (#9321)
This commit is contained in:
@@ -309,7 +309,7 @@ void TestParsingHexStrings(void)
|
||||
|
||||
for (uint8_t testIter = 0; testIter <= 1; testIter++)
|
||||
{
|
||||
for (uint8_t segmentLen = 1; segmentLen <= sizeof(buffer); segmentLen++)
|
||||
for (size_t segmentLen = 1; segmentLen <= sizeof(buffer); segmentLen++)
|
||||
{
|
||||
if (testIter == 0)
|
||||
{
|
||||
@@ -324,7 +324,7 @@ void TestParsingHexStrings(void)
|
||||
|
||||
len = segmentLen;
|
||||
|
||||
printf("\"%s\" segLen:%d -> ", string, segmentLen);
|
||||
printf("\"%s\" segLen:%zu -> ", string, segmentLen);
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user