[nits] unify size_t type for local variable when OT_ARRAY_LENGTH is used (#4894)

This commit is contained in:
Rongli Sun
2020-04-28 16:31:25 -07:00
committed by Jonathan Hui
parent 79f1d4c5c8
commit c8efee95f3
8 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ otError UdpExample::ProcessHelp(uint8_t aArgsLength, char *aArgs[])
OT_UNUSED_VARIABLE(aArgsLength);
OT_UNUSED_VARIABLE(aArgs);
for (unsigned int i = 0; i < OT_ARRAY_LENGTH(sCommands); i++)
for (size_t i = 0; i < OT_ARRAY_LENGTH(sCommands); i++)
{
mInterpreter.mServer->OutputFormat("%s\r\n", sCommands[i].mName);
}