diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-05-03 00:28:18 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-05-03 00:28:18 +0000 |
commit | c31dae3edb4a874106f38c4f1418182e49eda727 (patch) | |
tree | dd2094a9112da2877ac55c740c74b5fc54b5cabe /sys/arch/powerpc | |
parent | 432f423adb3a0a65b092bfa6ce5e4068ee0e60df (diff) |
Clean up a signed vs unsigned error in gm ethernet.
Pointed out by miod@. thx.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/mac/if_gm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/mac/if_gm.c b/sys/arch/powerpc/mac/if_gm.c index 602befc0e21..238a285f852 100644 --- a/sys/arch/powerpc/mac/if_gm.c +++ b/sys/arch/powerpc/mac/if_gm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gm.c,v 1.11 2001/02/20 19:39:33 mickey Exp $ */ +/* $OpenBSD: if_gm.c,v 1.12 2001/05/03 00:28:17 drahn Exp $ */ /* $NetBSD: if_gm.c,v 1.2 2000/03/04 11:17:00 tsubai Exp $ */ /*- @@ -82,7 +82,7 @@ struct gmac_softc { #else struct ethercom sc_ethercom; #define sc_if sc_ethercom.ec_if - char sc_laddr[6]; + u_int8_t sc_laddr[6]; #endif vaddr_t sc_reg; bus_space_handle_t gm_bush; @@ -716,9 +716,9 @@ gmac_init_mac(sc) { int i, tb; #ifdef __NetBSD__ - char *laddr = sc->sc_laddr; + u_int8_t *laddr = sc->sc_laddr; #else /* !__NetBSD__ */ - char *laddr = sc->sc_enaddr; + u_int8_t *laddr = sc->sc_enaddr; #endif __asm ("mftb %0" : "=r"(tb)); |