aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf_fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mcf_fec.c')
-rw-r--r--hw/mcf_fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf_fec.c b/hw/mcf_fec.c
index 86b3aafa6a..0b0f17ade6 100644
--- a/hw/mcf_fec.c
+++ b/hw/mcf_fec.c
@@ -353,7 +353,7 @@ static int mcf_fec_can_receive(void *opaque)
return s->rx_enabled;
}
-static void mcf_fec_receive(void *opaque, const uint8_t *buf, int size)
+static void mcf_fec_receive(void *opaque, const uint8_t *buf, size_t size)
{
mcf_fec_state *s = (mcf_fec_state *)opaque;
mcf_fec_bd bd;