]> git.proxmox.com Git - mirror_qemu.git/commit
contrib/libvhost-user: switch to uint64_t
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Feb 2019 04:53:47 +0000 (23:53 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Feb 2019 05:08:53 +0000 (00:08 -0500)
commit9174d8ad7411911dbc18376a449da10293c36a9a
tree1f6f2005a63a64a3f7969927cfcf2961f7ed7672
parent7423192912af36a2cdf4eb2066f17ca37904ef5e
contrib/libvhost-user: switch to uint64_t

contrib/libvhost-user is now using __u64 which is
a long long. New linux headers will use uint64_t.

These need to be printed differently: llx versus PRIx64.

For now cast to uint64_t for portability so the change
does not break the build.

Casts will go away in the future.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c