[Libvirt-cim] [PATCH] [CU] Fix warning in cu_dup_instance() that breaks build

Dan Smith danms at us.ibm.com
Wed Feb 13 15:58:04 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1202917533 28800
# Node ID c19e321766902af6dba29025be964d8d45537c51
# Parent  bd9472d3aa5f9f91553813e25731ae90c2555917
[CU] Fix warning in cu_dup_instance() that breaks build

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r bd9472d3aa5f -r c19e32176690 instance_util.c
--- a/instance_util.c	Wed Feb 13 07:45:32 2008 -0800
+++ b/instance_util.c	Wed Feb 13 07:45:33 2008 -0800
@@ -234,7 +234,7 @@ CMPIInstance *cu_dup_instance(const CMPI
 
         for (i = 0; i < prop_count; i++) {
                 CMPIString *prop;
-                char *prop_name;
+                const char *prop_name;
 
                 data = CMGetPropertyAt(src, i, &prop, s);
                 prop_name = CMGetCharPtr(prop);




More information about the Libvirt-cim mailing list