diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-09-30 21:33:15 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-03 06:40:58 +0000 |
commit | a4a77677d790c07759ae5219110de2e472a6b0a9 (patch) | |
tree | 6a118217a31eaf7455660e2dada884c245737822 | |
parent | d523d5d69409a2bb3b5a2c53179d190d2a8c06b2 (diff) | |
download | qemu-a4a77677d790c07759ae5219110de2e472a6b0a9.tar.gz qemu-a4a77677d790c07759ae5219110de2e472a6b0a9.tar.bz2 qemu-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>
-rw-r--r-- | hw/mipsnet.c | 2 |
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; |