On Fri, Apr 22, 2011 at 08:21:24PM +0200, Christophe Fergeau wrote:
> There were recently some bugs where VIR_FREE was called with an
> int parameter. Try to affect the value passed to VIR_FREE to
> a const void* so that the compiler gets a chance to emit a warning
> if we didn't pass a pointer to VIR_FREE.

With this patch, I don't get any warnings except for the

remote.c: In function ‘remoteDispatchListNetworks’:
remote.c:3517:67: attention : initialization makes pointer from integer
without a cast [enabled by default]

which were just fixed.

Christophe

Attachment: pgp8ZZbAjrpjj.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to