master - cleanup: cast int to typedef
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=506ade802b6e7f8c2afb027cd969bbb105afabd1 Commit: 506ade802b6e7f8c2afb027cd969bbb105afabd1 Parent: 90c44f5371b85edb05d4c4ebbd9e0254971d13f4 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri May 9 16:13:48 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon May 12 16:24:40 2014 +0200
cleanup: cast int to typedef
--- tools/vgchange.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/vgchange.c +1 -1
@@ -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 ; }