projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d523d5d
)
mipsnet: Fix compiler warning in debug code
author
Stefan Weil
<weil@mail.berlios.de>
Thu, 30 Sep 2010 19:33:15 +0000
(21:33 +0200)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 3 Oct 2010 06:40:58 +0000
(06:40 +0000)
size_t needs a different format specifier, so fix this.
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/mipsnet.c
patch
|
blob
|
history
diff --git
a/hw/mipsnet.c
b/hw/mipsnet.c
index a95b3ce07b65f6097496b53dc90569cfd851c79c..c5e54ffc359208c5eae19c242a4556262010f59e 100644
(file)
--- a/
hw/mipsnet.c
+++ b/
hw/mipsnet.c
@@
-81,7
+81,7
@@
static ssize_t mipsnet_receive(VLANClientState *nc, const uint8_t *buf, size_t s
MIPSnetState *s = DO_UPCAST(NICState, nc, nc)->opaque;
#ifdef DEBUG_MIPSNET_RECEIVE
- printf("mipsnet: receiving len=%
d
\n", size);
+ printf("mipsnet: receiving len=%
zu
\n", size);
#endif
if (!mipsnet_can_receive(nc))
return -1;