summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-28 00:57:57 +0000
committerdillon <dillon@FreeBSD.org>1999-01-28 00:57:57 +0000
commit975fba8a24263006afbbb4e38dd6bf515bdf4b43 (patch)
treeda30cbbe5e5f3c775029e38108f63aa8b8cd17b7 /sys/dev/fxp
parent4cc7d69521756e89ce3e5ea28211fda13fc4c9ff (diff)
downloadFreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.zip
FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 350546e..83deb25 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.59 1998/12/14 05:47:27 dillon Exp $
+ * $Id: if_fxp.c,v 1.60 1999/01/27 23:45:42 dillon Exp $
*/
/*
@@ -1347,7 +1347,7 @@ fxp_init(xsc)
#if defined(__NetBSD__)
bcopy(LLADDR(ifp->if_sadl), (void *)cb_ias->macaddr, 6);
#else
- bcopy(sc->arpcom.ac_enaddr, (void *)cb_ias->macaddr,
+ bcopy(sc->arpcom.ac_enaddr, (volatile void *)cb_ias->macaddr,
sizeof(sc->arpcom.ac_enaddr));
#endif /* __NetBSD__ */
@@ -1820,7 +1820,7 @@ fxp_mc_setup(sc)
break;
}
bcopy(LLADDR((struct sockaddr_dl *)ifma->ifma_addr),
- (void *) &sc->mcsp->mc_addr[nmcasts][0], 6);
+ (volatile void *) &sc->mcsp->mc_addr[nmcasts][0], 6);
nmcasts++;
}
}
OpenPOWER on IntegriCloud