]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: cast [ug]id_t when printing
authorEric Blake <eblake@redhat.com>
Thu, 30 May 2013 13:59:14 +0000 (07:59 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 30 May 2013 16:36:16 +0000 (10:36 -0600)
commitf43bb1dc20f1f2a2f94f7c505e80559ee6fecccd
treeeafcf38241e150895cc3e320ef4b6a897bc5be5f
parent19a7f9fffb7c9962da5bbe4e6097c088f1efec23
build: cast [ug]id_t when printing

This is a recurring problem for cygwin :)
For example, see commit 23a4df88.

qemu/qemu_driver.c: In function 'qemuStateInitialize':
qemu/qemu_driver.c:691:13: error: format '%d' expects type 'int', but argument 8 has type 'uid_t' [-Wformat]

* src/qemu/qemu_driver.c (qemuStateInitialize): Add casts.
* daemon/remote.c (remoteDispatchAuthList): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
daemon/remote.c
src/qemu/qemu_driver.c