mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: add explicit cast to proper enum type
This commit is contained in:
parent
9b1834f075
commit
e0856393c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user