mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-01 22:58:12 +00:00
One pair of additional signedness fixes from -Wsign-compare.
This commit is contained in:
parent
dee8055c8e
commit
d0d78cebda
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user