diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-21 22:10:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-21 22:10:11 +0000 |
commit | 7dff1ba21af594b36333ddcc34dd74fa7a195d14 (patch) | |
tree | 92bfb50329829f9955238818a7543e94ecec7013 /sys/arch/mvmeppc | |
parent | 1072769eafea8431e2beedc9f4cf086ac6097b1d (diff) |
Was lacking a cast.
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/dev/mem.c | 4 |
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; |