X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fpaths.c;h=5b550fabb2460537a868c33ed784fed1ff7c9582;hp=72d07b20c4cee09b354510558e4558e405e4b828;hb=fa6b8cb1d5e9e586370631b879a36cdf49110504;hpb=5eb7f7bcd3431cd8f634b02b71bd78f6162c2af3 diff --git a/discover/paths.c b/discover/paths.c index 72d07b2..5b550fa 100644 --- a/discover/paths.c +++ b/discover/paths.c @@ -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);