Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/dev Add a cast so that this actually compiles...



details:   https://anonhg.NetBSD.org/src/rev/79b7d9d77777
branches:  trunk
changeset: 749425:79b7d9d77777
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 29 13:51:33 2009 +0000

description:
Add a cast so that this actually compiles. oops.

diffstat:

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

diffs (18 lines):

diff -r dc16956be65d -r 79b7d9d77777 sys/arch/hp700/dev/astro.c
--- a/sys/arch/hp700/dev/astro.c        Sun Nov 29 10:44:23 2009 +0000
+++ b/sys/arch/hp700/dev/astro.c        Sun Nov 29 13:51:33 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: astro.c,v 1.7 2009/11/29 10:33:56 skrll Exp $  */
+/*     $NetBSD: astro.c,v 1.8 2009/11/29 13:51:33 skrll Exp $  */
 
 /*     $OpenBSD: astro.c,v 1.8 2007/10/06 23:50:54 krw Exp $   */
 
@@ -736,7 +736,7 @@
        tte |= IOTTE_V;
 
        *tte_ptr = htole64(tte);
-       fdcache(HPPA_SID_KERNEL, tte_ptr, sizeof(*tte_ptr));
+       fdcache(HPPA_SID_KERNEL, (vaddr_t)tte_ptr, sizeof(*tte_ptr));
 }
 
 /*



Home | Main Index | Thread Index | Old Index