Found by clang-tidy. Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- checkpolicy/policy_define.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpolicy/policy_define.c b/checkpolicy/policy_define.c index 370ff8e3..462e3994 100644 --- a/checkpolicy/policy_define.c +++ b/checkpolicy/policy_define.c @@ -1796,7 +1796,7 @@ int define_bool_tunable(int is_tunable) return -1; } - datum->state = (int)(bool_value[0] == 'T') ? 1 : 0; + datum->state = (bool_value[0] == 'T') ? 1 : 0; free(bool_value); return 0; cleanup: -- 2.32.0