From 1c7619d5d425816a8173c732ae47c1c2e588918b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 23 Dec 2020 17:25:59 -0800 Subject: [clang-tidy] utils: Fix too small loop variable Found with bugprone-too-small-loop-variable Signed-off-by: Rosen Penev --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index 0acbedc..8e8bf79 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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]); } -- cgit v1.1-32-gdbae