Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/dev add a (u_long) cast for quietness



details:   https://anonhg.NetBSD.org/src/rev/ea4d87772e25
branches:  trunk
changeset: 488102:ea4d87772e25
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jun 18 07:10:23 2000 +0000

description:
add a (u_long) cast for quietness

diffstat:

 sys/arch/sparc64/dev/cs4231_ebus.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ec169e144628 -r ea4d87772e25 sys/arch/sparc64/dev/cs4231_ebus.c
--- a/sys/arch/sparc64/dev/cs4231_ebus.c        Sun Jun 18 07:05:09 2000 +0000
+++ b/sys/arch/sparc64/dev/cs4231_ebus.c        Sun Jun 18 07:10:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cs4231_ebus.c,v 1.4 2000/06/04 19:15:04 cgd Exp $      */
+/*     $NetBSD: cs4231_ebus.c,v 1.5 2000/06/18 07:10:23 mrg Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -129,7 +129,7 @@
        /* XXX what to do with the DMA registers ? */
 
        sc->sc_ad1848.sc_ioh = bh;
-       sc->sc_dmareg = (struct apc_dma *)(bh + CS4231_REG_SIZE);
+       sc->sc_dmareg = (struct apc_dma *)(u_long)(bh + CS4231_REG_SIZE);
 
        cs4231_init(sc);
 



Home | Main Index | Thread Index | Old Index