Skip to content

Commit

Permalink
[clang-tidy] utils: Fix too small loop variable
Browse files Browse the repository at this point in the history
Found with bugprone-too-small-loop-variable

Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb authored and nikias committed Apr 22, 2022
1 parent c6ae88f commit 1c7619d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ LIBIMOBILEDEVICE_GLUE_API char *string_format_size(uint64_t size)
LIBIMOBILEDEVICE_GLUE_API char *string_toupper(char* str)
{
char *res = strdup(str);
unsigned int i;
size_t i;
for (i = 0; i < strlen(res); i++) {
res[i] = toupper(res[i]);
}
Expand Down

0 comments on commit 1c7619d

Please sign in to comment.