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

Jay Gagnon grendel at linux.vnet.ibm.com
Wed Feb 13 16:18:37 UTC 2008


Dan Smith wrote:
> # 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);
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   
Oops, my bad; I knew I would miss one of those somewhere. +1

-- 

-Jay




More information about the Libvirt-cim mailing list