mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Make value.string const char *, in properties.h, to fix a warning introduced by
the previous patch set.
This commit is contained in:
parent
50814ddb75
commit
cbff112651
@ -26,7 +26,7 @@ struct lvm_property_type {
|
|||||||
unsigned is_string:1;
|
unsigned is_string:1;
|
||||||
unsigned is_integer:1;
|
unsigned is_integer:1;
|
||||||
union {
|
union {
|
||||||
char *string;
|
const char *string;
|
||||||
uint64_t integer;
|
uint64_t integer;
|
||||||
} value;
|
} value;
|
||||||
int (*get) (const void *obj, struct lvm_property_type *prop);
|
int (*get) (const void *obj, struct lvm_property_type *prop);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user