Skip to contentSkip to conversation

main - cov; matching enum type

PATCH Zdenek Kabelac 1 participant 1 message Sep 27, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=614d150a8c7387744804b90fddea99c7fb4511f2
Commit:        614d150a8c7387744804b90fddea99c7fb4511f2
Parent:        bf0d558067926e716a370165e323187cf44c050a
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Sep 24 22:14:53 2021 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Sep 27 18:56:14 2021 +0200

cov; matching enum type

---
 tools/lvconvert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lvconvert.c +1 -1
index a7fb848be..34b82ea02 100644
@@ -95,7 +95,7 @@ struct convert_poll_id_list {
 };
 
 /* FIXME Temporary function until the enum replaces the separate variables */
-static void _set_conv_type(struct lvconvert_params *lp, int conv_type)
+static void _set_conv_type(struct lvconvert_params *lp, conversion_type_t conv_type)
 {
 	if (lp->conv_type != CONV_OTHER)
 		log_error(INTERNAL_ERROR "Changing conv_type from %d to %d.", lp->conv_type, conv_type);