Skip to contentSkip to conversation

master - cleanup: add cast

PATCH Zdenek Kabelac 1 participant 1 message Aug 18, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3d08a49790c180e10e8a6d35cbd43d7eb214bf30
Commit:        3d08a49790c180e10e8a6d35cbd43d7eb214bf30
Parent:        55a9262bdbc53acbd79035e904e7e00df8eec88b
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Aug 18 12:39:17 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Aug 18 15:00:08 2015 +0200

cleanup: add cast

---
 tools/lvconvert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/lvconvert.c +1 -1
index 36c4593..0897e09 100644
@@ -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));