--- hw/net/xgmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c index 0c5f793..b992435 100644 --- a/hw/net/xgmac.c +++ b/hw/net/xgmac.c @@ -203,8 +203,8 @@ static void xgmac_write_desc(XgmacState *s, struct desc *d, int rx) static void xgmac_enet_send(XgmacState *s) { struct desc bd; - int frame_size; - int len; + size_t frame_size; + size_t len; uint8_t frame[8192]; uint8_t *ptr; -- 2.7.1