diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-15 19:47:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-15 19:47:34 +0000 |
commit | e77a3c059ce32683d6f0cdee168946a89b5001f2 (patch) | |
tree | 66bcb16997f2f955653b9e690e333b66cdb067c5 /sys/dev/ic | |
parent | b9eda7c38c67b115c9a3b2706938972fe6adac5d (diff) |
Remove bogus casts to int in printf that causes a warning on 64bit arches.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/if_wi_hostap.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ic/if_wi_hostap.c b/sys/dev/ic/if_wi_hostap.c index 65d9fc95dc1..3a849f8b670 100644 --- a/sys/dev/ic/if_wi_hostap.c +++ b/sys/dev/ic/if_wi_hostap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_hostap.c,v 1.12 2002/04/11 15:34:27 millert Exp $ */ +/* $OpenBSD: if_wi_hostap.c,v 1.13 2002/04/15 19:47:33 millert Exp $ */ /* * Copyright (c) 2002 @@ -186,7 +186,7 @@ wihap_init(struct wi_softc *sc) struct wihap_info *whi = &sc->wi_hostap_info; if (sc->arpcom.ac_if.if_flags & IFF_DEBUG) - printf("wihap_init: sc=0x%x whi=0x%x\n", (int)sc, (int)whi); + printf("wihap_init: sc=0x%x whi=0x%x\n", sc, whi); bzero(whi, sizeof(struct wihap_info)); @@ -272,8 +272,7 @@ wihap_shutdown(struct wi_softc *sc) int s; if (sc->arpcom.ac_if.if_flags & IFF_DEBUG) - printf("wihap_shutdown: sc=0x%x whi=0x%x\n", - (int)sc, (int)whi); + printf("wihap_shutdown: sc=0x%x whi=0x%x\n", sc, whi); if (!(whi->apflags & WIHAPFL_ACTIVE)) return; @@ -301,7 +300,7 @@ wihap_shutdown(struct wi_softc *sc) /* Delete the structure. */ if (sc->arpcom.ac_if.if_flags & IFF_DEBUG) - printf("wihap_shutdown: FREE(sta=0x%x)\n", (int)sta); + printf("wihap_shutdown: FREE(sta=0x%x)\n", sta); next = LIST_NEXT(sta, list); FREE(sta, M_DEVBUF); sta = next; |