summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/mvmeppc/dev/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvmeppc/dev/mem.c b/sys/arch/mvmeppc/dev/mem.c
index 25e15ccdd6b..ec3e4b35481 100644
--- a/sys/arch/mvmeppc/dev/mem.c
+++ b/sys/arch/mvmeppc/dev/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.1 2001/06/26 21:57:41 smurph Exp $ */
+/* $OpenBSD: mem.c,v 1.2 2001/08/21 22:10:10 miod Exp $ */
/* $NetBSD: mem.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
@@ -111,7 +111,7 @@ mmrw(dev, uio, flags)
v = uio->uio_offset;
c = uio->uio_resid;
/* This doesn't allow device mapping! XXX */
- pmap_real_memory(&v, &c);
+ pmap_real_memory(&v, (vm_size_t *)&c);
error = uiomove((caddr_t)v, c, uio);
continue;