diff --git a/lib/report/report.c b/lib/report/report.c index 222d3f4b6..0fd0f30ac 100644 --- a/lib/report/report.c +++ b/lib/report/report.c @@ -2342,7 +2342,7 @@ static int _lv_size_disp(struct dm_report *rh, struct dm_pool *mem, uint64_t size = lv->le_count; if (seg && !lv_is_raid_image(lv)) - size -= seg->reshape_len * (seg->area_count > 2 ? (seg->area_count - seg->segtype->parity_devs) : 1); + size -= (uint64_t) seg->reshape_len * (seg->area_count > 2 ? (seg->area_count - seg->segtype->parity_devs) : 1); size *= lv->vg->extent_size;