diff mbox series

[3/4] libsepol: expand: use identical type to avoid implicit conversion

Message ID 20230714184414.40724-3-cgzones@googlemail.com (mailing list archive)
State Accepted
Commit ace9ec17ffaa
Delegated to: Petr Lautrbach
Headers show
Series [1/4] libsepol: validate: use fixed sized integers | expand

Commit Message

Christian Göttsche July 14, 2023, 6:44 p.m. UTC
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libsepol/src/expand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libsepol/src/expand.c b/libsepol/src/expand.c
index 7a011508..2ff06cd7 100644
--- a/libsepol/src/expand.c
+++ b/libsepol/src/expand.c
@@ -2314,7 +2314,7 @@  static int type_attr_map(hashtab_key_t key
 	policydb_t *p = state->out;
 	unsigned int i;
 	ebitmap_node_t *tnode;
-	int value;
+	uint32_t value;
 
 	type = (type_datum_t *) datum;
 	value = type->s.value;