]> git.ozlabs.org Git - petitboot/blobdiff - discover/paths.c
Fix build warnings
[petitboot] / discover / paths.c
index 72d07b20c4cee09b354510558e4558e405e4b828..5b550fabb2460537a868c33ed784fed1ff7c9582 100644 (file)
@@ -35,7 +35,7 @@ const char *mount_base(void)
 char *encode_label(void *alloc_ctx, const char *label)
 {
        char *str, *c;
-       int i;
+       unsigned int i;
 
        /* the label can be expanded by up to four times */
        str = talloc_size(alloc_ctx, strlen(label) * 4 + 1);