mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-08 09:57:55 +03:00
Cleanup const compiler warning
This commit is contained in:
parent
44e17e2aa9
commit
c23f56b9cb
@ -852,8 +852,8 @@ static int _for_each_pv(struct cmd_context *cmd, struct logical_volume *lv,
|
||||
|
||||
static int _comp_area(const void *l, const void *r)
|
||||
{
|
||||
const struct pv_area *lhs = *((const struct pv_area **) l);
|
||||
const struct pv_area *rhs = *((const struct pv_area **) r);
|
||||
const struct pv_area *lhs = *((const struct pv_area * const *) l);
|
||||
const struct pv_area *rhs = *((const struct pv_area * const *) r);
|
||||
|
||||
if (lhs->count < rhs->count)
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user