basic/capability-util: let cap_last_cap() return unsigned integer

We never return anything higher than 63, so using "long unsigned"
as the type only confused the reader. (We can still use "long unsigned"
and safe_atolu() to parse the kernel file.)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-07-10 16:55:24 +02:00
parent 417770f303
commit 864a25d99b
5 changed files with 18 additions and 27 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ static void test_ensure_cap_64bit(void) {
assert_se(p <= 63);
/* Also check for the header definition */
assert_se(CAP_LAST_CAP <= 63);
assert_cc(CAP_LAST_CAP <= 63);
}
int main(int argc, char *argv[]) {