capability-list: make capability_list_length() return unsigned

This commit is contained in:
Yu Watanabe
2025-10-23 23:46:49 +09:00
parent 8eefd0f4de
commit 2a6b084cc6
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ static int parse_capability_spec(const char *spec, uint64_t *ret_mask) {
break;
if (streq(t, "help")) {
for (int i = 0; i < capability_list_length(); i++) {
for (unsigned i = 0; i < capability_list_length(); i++) {
const char *name;
name = capability_to_name(i);