Skip to contentSkip to conversation

LVM2/lib/report properties.h

PATCH [email protected] 1 participant 1 message Nov 17, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-11-17 19:50:15

Modified files:
lib/report : properties.h

Log message:
Make value.string const char *, in properties.h, to fix a warning introduced by the previous patch set.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/report/properties.h.diff?cvsroot=lvm2&r1=1.6&r2=1.7

lib/report/properties.h +1 -1
@@ -26,7 +26,7 @@
 	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);