1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

cleanup: add cast

This commit is contained in:
Zdenek Kabelac 2015-08-18 12:39:17 +02:00
parent 55a9262bdb
commit 3d08a49790

View File

@ -2002,7 +2002,7 @@ static int _lvconvert_uncache(struct cmd_context *cmd,
return 0;
}
if (!lv_remove_single(cmd, first_seg(lv)->pool_lv, lp->force, 0))
if (!lv_remove_single(cmd, first_seg(lv)->pool_lv, (force_t) lp->force, 0))
return_0;
log_print_unless_silent("Logical volume %s is not cached.", display_lvname(lv));