mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: cast int to typedef
This commit is contained in:
parent
90c44f5371
commit
506ade802b
@ -590,7 +590,7 @@ int vgchange(struct cmd_context *cmd, int argc, char **argv)
|
||||
|
||||
if (arg_count(cmd, activate_ARG) &&
|
||||
(arg_count(cmd, monitor_ARG) || arg_count(cmd, poll_ARG))) {
|
||||
if (!is_change_activating(arg_uint_value(cmd, activate_ARG, 0))) {
|
||||
if (!is_change_activating((activation_change_t) arg_uint_value(cmd, activate_ARG, 0))) {
|
||||
log_error("Only -ay* allowed with --monitor or --poll.");
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user