diff --git a/libqpol/policy_define.c b/libqpol/policy_define.c index 4b52953..94fa5b4 100644 --- a/libqpol/policy_define.c +++ b/libqpol/policy_define.c @@ -1612,7 +1612,7 @@ int define_compute_type_helper(int which, avrule_t ** rule) ebitmap_node_t *node; avrule_t *avrule; class_perm_node_t *perm; - int i, add = 1; + unsigned int i, add = 1; avrule = malloc(sizeof(avrule_t)); if (!avrule) { @@ -2239,7 +2239,7 @@ static int dominate_role_recheck(hashtab_key_t key, hashtab_datum_t datum, role_datum_t *rdp = (role_datum_t *) arg; role_datum_t *rdatum = (role_datum_t *) datum; ebitmap_node_t *node; - int i; + unsigned int i; /* Don't bother to process against self role */ if (rdatum->s.value == rdp->s.value)