Blame SOURCES/libvirt-cim-0.6.3-2cbbac52.patch

9c78f5
From 2cbbac52e45e0a21ed052adf79ec0e011f9e3b83 Mon Sep 17 00:00:00 2001
9c78f5
From: Pavel Hrdina <phrdina@redhat.com>
9c78f5
Date: Wed, 7 May 2014 12:52:15 +0200
9c78f5
Subject: [PATCH 58/60] xmlgen: fix build issue
9c78f5
9c78f5
Function controller_protocol_type_IDToStr() returns a const char
9c78f5
and we should abide that.
9c78f5
9c78f5
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
9c78f5
Signed-off-by: John Ferlan <jferlan@redhat.com>
9c78f5
---
9c78f5
 libxkutil/xmlgen.c | 2 +-
9c78f5
 1 file changed, 1 insertion(+), 1 deletion(-)
9c78f5
9c78f5
diff --git a/libxkutil/xmlgen.c b/libxkutil/xmlgen.c
9c78f5
index 3174ca9..a9a672d 100644
9c78f5
--- a/libxkutil/xmlgen.c
9c78f5
+++ b/libxkutil/xmlgen.c
9c78f5
@@ -807,7 +807,7 @@ static const char *controller_xml(xmlNodePtr root, struct domain *dominfo)
9c78f5
         for (i = 0; i < dominfo->dev_controller_ct; i++) {
9c78f5
                 xmlNodePtr ctlr;
9c78f5
                 xmlNodePtr tmp;
9c78f5
-                char *type_str;
9c78f5
+                const char *type_str;
9c78f5
 
9c78f5
                 struct virt_device *_dev = &dominfo->dev_controller[i];
9c78f5
                 if (_dev->type == CIM_RES_TYPE_UNKNOWN)
9c78f5
-- 
9c78f5
2.1.0
9c78f5