Mercurial > ecos
changeset 2034:08b7ab87daa5
* src/net/eth_drv.c (eth_drv_recv): Change of type to remove
compiler warning.
| author | asl |
|---|---|
| date | Sat, 30 Jul 2005 11:52:10 +0000 |
| parents | b2e76f0a78c3 |
| children | 42d972ba4f44 |
| files | packages/io/eth/current/ChangeLog packages/io/eth/current/src/net/eth_drv.c |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/eth/current/ChangeLog +++ b/packages/io/eth/current/ChangeLog @@ -1,3 +1,8 @@ +2005-07-29 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/net/eth_drv.c (eth_drv_recv): Change of type to remove + compiler warning. + 2005-06-29 Andrew Lunn <andrew.lunn@ascom.ch> * doc/driver_doc: Removed, it has been superseded by the sgml
--- a/packages/io/eth/current/src/net/eth_drv.c +++ b/packages/io/eth/current/src/net/eth_drv.c @@ -800,7 +800,7 @@ eth_drv_recv(struct eth_drv_sc *sc, int struct ether_header _eh, *eh=&_eh; struct mbuf *top, **mp, *m; int mlen; - unsigned char *data; + caddr_t data; #if MAX_ETH_DRV_SG > 64 static // Avoid large stack requirements #endif
