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>
This commit is contained in:
parent
d523d5d694
commit
a4a77677d7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user