summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sbus/qec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/qec.c b/sys/dev/sbus/qec.c
index 2d4954a9a91..8f4c8217b97 100644
--- a/sys/dev/sbus/qec.c
+++ b/sys/dev/sbus/qec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: qec.c,v 1.11 2000/07/09 20:57:44 pk Exp $ */
+/* $NetBSD: qec.c,v 1.12 2000/12/04 20:12:55 fvdl Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -151,7 +151,7 @@ qecattach(parent, self, aux)
printf("%s: attach: cannot map registers\n", self->dv_xname);
return;
}
- sc->sc_buffer = (caddr_t)bh;
+ sc->sc_buffer = (caddr_t)(u_long)bh;
sc->sc_bufsiz = (bus_size_t)sa->sa_reg[1].sbr_size;
/* Get number of on-board channels */