mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Fix constness warning
Fix usage of const 'data' pointer and also assign void* directly without uneeded cast for C.
This commit is contained in:
parent
d35c864521
commit
7ce5ac0f03
@ -2399,7 +2399,7 @@ static int _dm_deps_disp(struct dm_report *rh, struct dm_pool *mem,
|
||||
struct dm_report_field *field, const void *data,
|
||||
void *private)
|
||||
{
|
||||
struct dm_deps *deps = (struct dm_deps *) data;
|
||||
const struct dm_deps *deps = data;
|
||||
int i;
|
||||
char buf[DM_MAX_TYPE_NAME], *repstr;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user