Skip to content

Commit d496ab5

Browse files
authored
Merge pull request #11854 from AnttiKauppila/athandler_warn_fix
ATHandler build warning fixed
2 parents f1848f9 + 8aac93a commit d496ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/cellular/framework/AT/ATHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ void ATHandler::write_hex_string(char *str, size_t size)
16061606
}
16071607

16081608
char hexbuf[2];
1609-
for (int i = 0; i < size; i++) {
1609+
for (size_t i = 0; i < size; i++) {
16101610
hexbuf[0] = hex_values[((str[i]) >> 4) & 0x0F];
16111611
hexbuf[1] = hex_values[(str[i]) & 0x0F];
16121612
write(hexbuf, 2);

0 commit comments

Comments
 (0)