2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

parser: convert subset flag to a bool

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2021-09-08 02:50:31 -07:00
parent c36d4e9c03
commit f76d134b6c
3 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ static int file_comp(const void *c1, const void *c2)
return res;
if ((*e1)->link_name)
res = (*e2)->subset - (*e1)->subset;
res = ((int) (*e2)->subset) - ((int) (*e1)->subset);
if (res)
return res;