mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
Small fix to correct warning --
missing cast of u_short to int in isread call.
This commit is contained in:
parent
4c860b3c23
commit
a94a9c9493
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user