X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fidtree%2Fidtree.c;fp=ccan%2Fidtree%2Fidtree.c;h=48add6a8ac4fa917751ac92a06709a730b9e0ba6;hb=2b48199f339c411c047dc1ecba889bd413bf2663;hp=e8873926a79c07a21b7b843f06b3b4cfaa7078c9;hpb=71b4e3ad90db6bacc51552438c3f6eb2a20d2631;p=ccan diff --git a/ccan/idtree/idtree.c b/ccan/idtree/idtree.c index e8873926..48add6a8 100644 --- a/ccan/idtree/idtree.c +++ b/ccan/idtree/idtree.c @@ -100,7 +100,8 @@ static int sub_alloc(struct idtree *idp, const void *ptr, int *starting_id) int n, m, sh; struct idtree_layer *p, *pn; struct idtree_layer *pa[MAX_LEVEL+1]; - unsigned int l, id, oid; + unsigned int l; + int id, oid; uint32_t bm; memset(pa, 0, sizeof(pa));