Fixed warning from gcc1 (but not gcc2 for some reason).
2nd parameter to isread was unsigned char and function declaration was for char. Changed function declaration to unsigned char.
This commit is contained in:
parent
75124a8b13
commit
1e41bb4918
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141
@ -97,7 +97,7 @@ int is_probe(),is_attach(),is_watchdog();
|
|||||||
int is_ioctl(),is_init(),is_start();
|
int is_ioctl(),is_init(),is_start();
|
||||||
|
|
||||||
static inline void is_rint(int unit);
|
static inline void is_rint(int unit);
|
||||||
static inline void isread(struct is_softc*, char*, int);
|
static inline void isread(struct is_softc*, unsigned char*, int);
|
||||||
|
|
||||||
struct mbuf *isget();
|
struct mbuf *isget();
|
||||||
|
|
||||||
@ -648,7 +648,7 @@ static inline void is_rint(int unit)
|
|||||||
* We deal with the trailer protocol here.
|
* We deal with the trailer protocol here.
|
||||||
*/
|
*/
|
||||||
static inline void
|
static inline void
|
||||||
isread(struct is_softc *is, char *buf, int len)
|
isread(struct is_softc *is, unsigned char *buf, int len)
|
||||||
{
|
{
|
||||||
register struct ether_header *eh;
|
register struct ether_header *eh;
|
||||||
struct mbuf *m;
|
struct mbuf *m;
|
||||||
|
Loading…
Reference in New Issue
Block a user