diff options
Diffstat (limited to 'discover/paths.c')
-rw-r--r-- | discover/paths.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |