1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

bootctl: silence warning about signed/unsigned comparison

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-12-19 09:21:02 +01:00
parent 4dfdca3148
commit 5364c68690

View File

@ -1043,7 +1043,7 @@ static int verb_list(int argc, char *argv[], void *userdata) {
boot_entry_title(e),
ansi_normal(),
ansi_highlight_green(),
n == config.default_entry ? " (default)" : "",
n == (unsigned) config.default_entry ? " (default)" : "",
ansi_normal());
if (e->version)
printf(" version: %s\n", e->version);