Module Name:    src
Committed By:   skrll
Date:           Sun Nov 29 13:51:33 UTC 2009

Modified Files:
        src/sys/arch/hp700/dev: astro.c

Log Message:
Add a cast so that this actually compiles. oops.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hp700/dev/astro.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/dev/astro.c
diff -u src/sys/arch/hp700/dev/astro.c:1.7 src/sys/arch/hp700/dev/astro.c:1.8
--- src/sys/arch/hp700/dev/astro.c:1.7	Sun Nov 29 10:33:56 2009
+++ src/sys/arch/hp700/dev/astro.c	Sun Nov 29 13:51:33 2009
@@ -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));
 }
 
 /*

Reply via email to