summaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-05 18:03:31 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-05 18:03:31 +0000
commitb9e82a5946d902af445a53727c69b4851b1b20ff (patch)
tree4c71beccc51a0f88479b664c72e56272fd2a7f73 /nbd.c
parentMake binary stripping conditional (Riku Voipio) (diff)
downloadqemu-kvm-b9e82a5946d902af445a53727c69b4851b1b20ff.tar.gz
qemu-kvm-b9e82a5946d902af445a53727c69b4851b1b20ff.tar.bz2
qemu-kvm-b9e82a5946d902af445a53727c69b4851b1b20ff.zip
Fix some win32 compile warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6984 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd.c b/nbd.c
index 77b3e1692..1586ea755 100644
--- a/nbd.c
+++ b/nbd.c
@@ -579,7 +579,7 @@ int nbd_trip(BlockDriverState *bs, int csock, off_t size, uint64_t dev_offset,
if ((request.from + request.len) > size) {
LOG("From: %" PRIu64 ", Len: %u, Size: %" PRIu64
", Offset: %" PRIu64 "\n",
- request.from, request.len, size, dev_offset);
+ request.from, request.len, (uint64_t)size, dev_offset);
LOG("requested operation past EOF--bad client?");
errno = EINVAL;
return -1;