1
0
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:
Zdenek Kabelac 2013-07-23 10:46:07 +02:00
parent 9b1834f075
commit e0856393c8

View File

@ -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;