summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/idtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/idtree.c b/lib/util/idtree.c
index c14796101a..6611992a25 100644
--- a/lib/util/idtree.c
+++ b/lib/util/idtree.c
@@ -105,7 +105,7 @@ static int sub_alloc(struct idr_context *idp, void *ptr, int *starting_id)
int n, m, sh;
struct idr_layer *p, *pn;
struct idr_layer *pa[MAX_LEVEL];
- int l, id, oid;
+ unsigned int l, id, oid;
uint32_t bm;
memset(pa, 0, sizeof(pa));