qemu/vl.c: In function `net_client_uninit': qemu/vl.c:4951: warning: passing arg 1 of `free' discards qualifiers from pointer target type
Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- qemu/vl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu/vl.c b/qemu/vl.c index 3570388..3f6eca3 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -4944,7 +4944,7 @@ void net_client_uninit(NICInfo *nd) nd->vlan->nb_guest_devs--; /* XXX: free vlan on last reference */ nb_nics--; nd->used = 0; - free(nd->model); + free((void *)nd->model); } void do_info_network(void) -- 1.5.3.7 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel