summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa')
-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;