From ace9ec17ffaa1ad0be165cd8ad77998cb368ca2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 14 Jul 2023 20:44:13 +0200 Subject: [PATCH] libsepol: expand: use identical type to avoid implicit conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Göttsche Acked-by: James Carter --- libsepol/src/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsepol/src/expand.c b/libsepol/src/expand.c index 8795229a39..4c9f84cf9d 100644 --- a/libsepol/src/expand.c +++ b/libsepol/src/expand.c @@ -2350,7 +2350,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;