From 1e41bb4918b8a83f02d5c6e6036874ff7711dbc0 Mon Sep 17 00:00:00 2001 From: Paul Richards Date: Sun, 18 Jul 1993 20:57:34 +0000 Subject: [PATCH] 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. --- sys/i386/isa/if_is.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/isa/if_is.c b/sys/i386/isa/if_is.c index 64ab4942d3f3..6892e750a00b 100644 --- a/sys/i386/isa/if_is.c +++ b/sys/i386/isa/if_is.c @@ -97,7 +97,7 @@ int is_probe(),is_attach(),is_watchdog(); int is_ioctl(),is_init(),is_start(); 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(); @@ -648,7 +648,7 @@ static inline void is_rint(int unit) * We deal with the trailer protocol here. */ 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; struct mbuf *m;