summaryrefslogtreecommitdiff
path: root/sys/dev/isa/pcdisplay.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-01-31 02:12:30 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-01-31 02:12:30 +0000
commit2b8b8eb5fa50614309bcab5ab89cc1a61eb815be (patch)
tree6e7f238ce8f28a3a26ffed477c3a1cb191173283 /sys/dev/isa/pcdisplay.c
parent1ed40fb84c5006f072306855bc253e18eabdf770 (diff)
Some int -> u_long (I incorrectly converted paddr_t to int when porting this).
Diffstat (limited to 'sys/dev/isa/pcdisplay.c')
-rw-r--r--sys/dev/isa/pcdisplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/pcdisplay.c b/sys/dev/isa/pcdisplay.c
index a4e7f5be015..0cba2c79564 100644
--- a/sys/dev/isa/pcdisplay.c
+++ b/sys/dev/isa/pcdisplay.c
@@ -109,7 +109,7 @@ const struct wsscreen_list pcdisplay_screenlist = {
};
static int pcdisplay_ioctl __P((void *, u_long, caddr_t, int, struct proc *));
-static int pcdisplay_mmap __P((void *, off_t, int));
+static u_long pcdisplay_mmap __P((void *, off_t, int));
static int pcdisplay_alloc_screen __P((void *, const struct wsscreen_descr *,
void **, int *, int *, long *));
static void pcdisplay_free_screen __P((void *, void *));
@@ -346,7 +346,7 @@ pcdisplay_ioctl(v, cmd, data, flag, p)
return (-1);
}
-static int
+static u_long
pcdisplay_mmap(v, offset, prot)
void *v;
off_t offset;