Fix ivshmem build on 32-bit hosts
commit0131c8c2ddeb115c423b8e505789025864d81f87
authorAvi Kivity <avi@redhat.com>
Sun, 29 Aug 2010 09:43:15 +0000 (29 12:43 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Oct 2010 21:34:38 +0000 (11 16:34 -0500)
tree76054077e266b9d1a3d0be473d98da0edd71cbfc
parentd3c5b2e6703869bb86639b29102df82380cc2d63
Fix ivshmem build on 32-bit hosts

stat() fields can be more or less anything depending on configuration, cast
explicitly to uint64_t to avoid printf() format mismatches.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit ad0a4ac1c0e1859eb0c67900dba696cc459b42a7)
hw/ivshmem.c