mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
Fix some win32 compile warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6984 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
1625af873a
commit
b9e82a5946
8 changed files with 27 additions and 16 deletions
2
nbd.c
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue