summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-28 17:32:05 +0000
committerdillon <dillon@FreeBSD.org>1999-01-28 17:32:05 +0000
commitca558df378372b5884ff8069ed7ca0828d9b8de1 (patch)
tree437f037c49b94ed358c6bed90d5be63adb743843 /sys/dev/fxp
parent789691e908f6bc573894f86b17cf9616bce158c7 (diff)
downloadFreeBSD-src-ca558df378372b5884ff8069ed7ca0828d9b8de1.zip
FreeBSD-src-ca558df378372b5884ff8069ed7ca0828d9b8de1.tar.gz
Fix warnings related to -Wall -Wcast-qual
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 83deb25..6fd0666 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.60 1999/01/27 23:45:42 dillon Exp $
+ * $Id: if_fxp.c,v 1.61 1999/01/28 00:57:53 dillon Exp $
*/
/*
@@ -1290,7 +1290,7 @@ fxp_init(xsc)
* zero and must be one bits in this structure and this is the easiest
* way to initialize them all to proper values.
*/
- bcopy(fxp_cb_config_template, (void *)&cbp->cb_status,
+ bcopy(fxp_cb_config_template, (volatile void *)&cbp->cb_status,
sizeof(fxp_cb_config_template));
cbp->cb_status = 0;
OpenPOWER on IntegriCloud