summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
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]);
}