aboutsummaryrefslogtreecommitdiffstats
path: root/hw/smc91c111.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/smc91c111.c')
-rw-r--r--hw/smc91c111.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/smc91c111.c b/hw/smc91c111.c
index a6a11e0f2..b8d0cba5f 100644
--- a/hw/smc91c111.c
+++ b/hw/smc91c111.c
@@ -649,7 +649,7 @@ static void smc91c111_receive(void *opaque, const uint8_t *buf, int size)
/* Pad short packets. */
if (size < 64) {
int pad;
-
+
if (size & 1)
*(p++) = buf[size - 1];
pad = 64 - size;