Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/dev Add a cast missed in the previous.



details:   https://anonhg.NetBSD.org/src/rev/f65dc1251d9c
branches:  trunk
changeset: 546963:f65dc1251d9c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 10 03:57:28 2003 +0000

description:
Add a cast missed in the previous.

diffstat:

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

diffs (18 lines):

diff -r d4a8135a4888 -r f65dc1251d9c sys/arch/newsmips/dev/ms_hb.c
--- a/sys/arch/newsmips/dev/ms_hb.c     Sat May 10 03:27:33 2003 +0000
+++ b/sys/arch/newsmips/dev/ms_hb.c     Sat May 10 03:57:28 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms_hb.c,v 1.5 2003/05/09 13:36:40 tsutsui Exp $        */
+/*     $NetBSD: ms_hb.c,v 1.6 2003/05/10 03:57:28 tsutsui Exp $        */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -94,7 +94,7 @@
        struct wsmousedev_attach_args aa;
        int intr;
 
-       reg = ha->ha_addr;
+       reg = (struct msreg *)ha->ha_addr;
        intr = ha->ha_level;
 
        if (intr == -1)



Home | Main Index | Thread Index | Old Index