summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 23:45:44 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 23:45:44 +0000
commitf9a4729a9b5e134850841ee06d85b97bf66e749b (patch)
treee09f1712b3a4b92e9e060d46fecff5e8f5243354 /sys/dev/fxp
parentc590848cf5d691aba15e5a6579fb75c5fbefab93 (diff)
downloadFreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.zip
FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile. This commit includes significant work to proper handle const arguments for the DDB symbol routines.
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 1908cb6..350546e 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.58 1998/10/22 02:00:49 dg Exp $
+ * $Id: if_fxp.c,v 1.59 1998/12/14 05:47:27 dillon Exp $
*/
/*
@@ -123,8 +123,8 @@ static __inline void
fxp_lwcopy(src, dst)
volatile u_int32_t *src, *dst;
{
- volatile u_int16_t *a = (u_int16_t *)src;
- volatile u_int16_t *b = (u_int16_t *)dst;
+ volatile u_int16_t *a = (volatile u_int16_t *)src;
+ volatile u_int16_t *b = (volatile u_int16_t *)dst;
b[0] = a[0];
b[1] = a[1];
OpenPOWER on IntegriCloud