1
0
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:
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_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);