From 5d3834485e9f9d703d05f251054681cf927a2798 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Wed, 17 Nov 2010 19:50:15 +0000 Subject: [PATCH] Make value.string const char *, in properties.h, to fix a warning introduced by the previous patch set. --- lib/report/properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report/properties.h b/lib/report/properties.h index 7756cbeb5..f747f0418 100644 --- a/lib/report/properties.h +++ b/lib/report/properties.h @@ -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); -- 2.43.5