]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: Fix the build by explicitly casting the obj pointer for xdr_free
authorErik Skultety <eskultet@redhat.com>
Fri, 14 Dec 2018 08:52:40 +0000 (09:52 +0100)
committerErik Skultety <eskultet@redhat.com>
Fri, 14 Dec 2018 08:52:40 +0000 (09:52 +0100)
commit76ddd01ecd27e85f28e9f62641b3b1a2fffc8526
tree49d73fd9ad2bb4c7390af5a50cf86368c8cc37f6
parent634bd528cb194439f0bea0815f579d0b0c1b1a92
remote: Fix the build by explicitly casting the obj pointer for xdr_free

For some reason, xdr_free uses char * instead of void * for its 2nd
argument which is passed to a custom free routine. Commit
dc54b3ec missed this detail which made the build fail on a number of
platforms. Fix it by explicitly casting the object pointer to char *
just like we do in other places throughout the code base.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/remote/remote_daemon_dispatch.c