mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 03:38:09 +02:00
[command-parser] Add int cast to printf to %*s arg
This fixes a compiler warning.
This commit is contained in:
parent
8753c3bbac
commit
283215be39
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ ply_command_parser_get_help_string (ply_command_parser_t *parser)
|
|||
|
||||
ply_buffer_append (buffer, " %s%*s %s\n",
|
||||
command->name,
|
||||
longest_subcommand + 2 - strlen (command->name),
|
||||
(int) (longest_subcommand + 2 - strlen (command->name)),
|
||||
"",
|
||||
command->description);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue