1
0
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:
Zdenek Kabelac 2014-05-09 16:13:48 +02:00
parent 90c44f5371
commit 506ade802b

View File

@ -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;
}