1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Petr Rockai 2010-11-17 19:50:15 +00:00
parent 50814ddb75
commit cbff112651

View File

@ -26,7 +26,7 @@ struct lvm_property_type {
unsigned is_string:1;
unsigned is_integer:1;
union {
char *string;
const char *string;
uint64_t integer;
} value;
int (*get) (const void *obj, struct lvm_property_type *prop);