Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wsfb fix build for LP32
details: https://anonhg.NetBSD.org/src/rev/332024985c99
branches: trunk
changeset: 763007:332024985c99
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Mar 08 04:47:10 2011 +0000
description:
fix build for LP32
thanks to uebayasi@
diffstat:
sys/dev/wsfb/genfb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3aad201d8dae -r 332024985c99 sys/dev/wsfb/genfb.c
--- a/sys/dev/wsfb/genfb.c Tue Mar 08 03:22:29 2011 +0000
+++ b/sys/dev/wsfb/genfb.c Tue Mar 08 04:47:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb.c,v 1.39 2011/03/08 03:16:30 macallan Exp $ */
+/* $NetBSD: genfb.c,v 1.40 2011/03/08 04:47:10 macallan Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.39 2011/03/08 03:16:30 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.40 2011/03/08 04:47:10 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -135,7 +135,7 @@
sc->sc_fbaddr = NULL;
if (prop_dictionary_get_uint64(dict, "virtual_address", &fbaddr)) {
- sc->sc_fbaddr = (void *)fbaddr;
+ sc->sc_fbaddr = (void *)(uintptr_t)fbaddr;
}
if (!prop_dictionary_get_uint32(dict, "linebytes", &sc->sc_stride))
Home |
Main Index |
Thread Index |
Old Index