diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-05-14 12:41:25 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-22 07:16:17 +0200 |
commit | 7fa9f0388ca7270ae4267f305a2fa384c4252170 (patch) | |
tree | 09daa780a5c657ac4eed69edb25262a3d0a3ea36 /Makefile | |
parent | 1005810b8ae92e0110aae123ee0a91b0a6717343 (diff) | |
download | qemu-7fa9f0388ca7270ae4267f305a2fa384c4252170.zip qemu-7fa9f0388ca7270ae4267f305a2fa384c4252170.tar.gz qemu-7fa9f0388ca7270ae4267f305a2fa384c4252170.tar.bz2 |
libvhost-user: fix -Werror=format= on ppc64
That should fix the following warning:
/home/pm215/qemu/contrib/libvhost-user/libvhost-user.c: In function
‘vu_set_mem_table_exec_postcopy’:
/home/pm215/qemu/contrib/libvhost-user/libvhost-user.c:666:9: error:
format ‘%llx’ expects argument of type ‘long long unsigned int’, but
argument 5 has type ‘__u64’ [-Werror=format=]
DPRINT("%s: region %d: Registered userfault for %llx + %llx\n",
^
/home/pm215/qemu/contrib/libvhost-user/libvhost-user.c:666:9: error:
format ‘%llx’ expects argument of type ‘long long unsigned int’, but
argument 6 has type ‘__u64’ [-Werror=format=]
cc1: all warnings being treated as errors
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190514104126.6294-3-marcandre.lureau@redhat.com
{ kraxel: s/PRIu64/PRIx64/ ]
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions