summaryrefslogtreecommitdiff
path: root/hw/mipsnet.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-30 21:33:15 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-03 06:40:58 +0000
commita4a77677d790c07759ae5219110de2e472a6b0a9 (patch)
tree6a118217a31eaf7455660e2dada884c245737822 /hw/mipsnet.c
parentd523d5d69409a2bb3b5a2c53179d190d2a8c06b2 (diff)
downloadqemu-a4a77677d790c07759ae5219110de2e472a6b0a9.zip
mipsnet: Fix compiler warning in debug code
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>
Diffstat (limited to 'hw/mipsnet.c')
-rw-r--r--hw/mipsnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mipsnet.c b/hw/mipsnet.c
index a95b3ce07b..c5e54ffc35 100644
--- 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;