diff --git a/include/net.h b/include/net.h index 5a6b8083b3..9e5543086d 100644 --- a/include/net.h +++ b/include/net.h @@ -374,7 +374,7 @@ extern uint NetCksum(uchar *, int); /* Calculate the checksum */ /* Set callbacks */ extern void NetSetHandler(rxhand_f *); /* Set RX packet handler */ -extern void NetSetTimeout(int, thand_f *); /* Set timeout handler */ +extern void NetSetTimeout(ulong, thand_f *);/* Set timeout handler */ /* Transmit "NetTxPacket" */ extern void NetSendPacket(volatile uchar *, int); diff --git a/net/net.c b/net/net.c index 261f7c187d..90315ca7e2 100644 --- a/net/net.c +++ b/net/net.c @@ -585,7 +585,7 @@ NetSetHandler(rxhand_f * f) void -NetSetTimeout(int iv, thand_f * f) +NetSetTimeout(ulong iv, thand_f * f) { if (iv == 0) { timeHandler = (thand_f *)0;