Small fix to correct warning --

missing cast of u_short to int in isread call.
This commit is contained in:
Paul Richards 1993-07-18 04:18:00 +00:00
parent 4c860b3c23
commit a94a9c9493
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138

View File

@ -629,7 +629,7 @@ static inline void is_rint(int unit)
#if ISDEBUG >2
recv_print(unit,is->last_rd);
#endif
isread(is,is->rbuf+(BUFSIZE*rmd),cdm->mcnt);
isread(is,is->rbuf+(BUFSIZE*rmd),(int)cdm->mcnt);
}
cdm->flags |= OWN;
@ -647,7 +647,8 @@ static inline void is_rint(int unit)
* Pass a packet to the higher levels.
* We deal with the trailer protocol here.
*/
static inline void isread(struct is_softc *is, char *buf, int len)
static inline void
isread(struct is_softc *is, char *buf, int len)
{
register struct ether_header *eh;
struct mbuf *m;