master - cleanup: add explicit cast to proper enum type
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e0856393c8a1c622871b07fb452fbbd7c0da537a Commit: e0856393c8a1c622871b07fb452fbbd7c0da537a Parent: 9b1834f075daf0fb3f349356a31c1bfed421384a Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jul 23 10:46:07 2013 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Jul 23 14:53:29 2013 +0200
cleanup: add explicit cast to proper enum type
--- liblvm/lvm_lv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
liblvm/lvm_lv.c +1 -1
@@ -443,7 +443,7 @@ lv_create_params_t lvm_lv_params_create_thin_pool(vg_t vg,if (lvcp) { lvcp->vg = vg; - lvcp->lvp.discards = discard; + lvcp->lvp.discards = (thin_discards_t ) discard;if (chunk_size) lvcp->lvp.chunk_size = chunk_size;