summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2000-01-22 15:09:00 +0000
committerdrochner <drochner@NetBSD.org>2000-01-22 15:09:00 +0000
commitdadc2bc21d0ba52c86c212d76ef7934cef7ea453 (patch)
tree5d750d0d44bebab1379e71bf9f029080f78fe9cb /sys/dev/wscons
parent78798f99912b24bf14e23c85ff58d636714d9c68 (diff)
pass raw keyboard data unsigned to avoid sign extension
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r--sys/dev/wscons/wskbd.c6
-rw-r--r--sys/dev/wscons/wskbdvar.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index c97e951bd69..b830ece2414 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.35 2000/01/05 11:19:37 drochner Exp $ */
+/* $NetBSD: wskbd.c,v 1.36 2000/01/22 15:09:00 drochner Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.35 2000/01/05 11:19:37 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.36 2000/01/22 15:09:00 drochner Exp $");
/*
* Copyright (c) 1992, 1993
@@ -626,7 +626,7 @@ wskbd_input(dev, type, value)
void
wskbd_rawinput(dev, buf, len)
struct device *dev;
- char *buf;
+ u_char *buf;
int len;
{
#if NWSDISPLAY > 0
diff --git a/sys/dev/wscons/wskbdvar.h b/sys/dev/wscons/wskbdvar.h
index f61b0c5512e..6621e9d8c6f 100644
--- a/sys/dev/wscons/wskbdvar.h
+++ b/sys/dev/wscons/wskbdvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbdvar.h,v 1.8 1999/12/01 23:22:59 augustss Exp $ */
+/* $NetBSD: wskbdvar.h,v 1.9 2000/01/22 15:09:01 drochner Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -90,7 +90,7 @@ int wskbddevprint __P((void *, const char *));
*/
void wskbd_input __P((struct device *kbddev, u_int type, int value));
/* for WSDISPLAY_COMPAT_RAWKBD */
-void wskbd_rawinput __P((struct device *, char *, int));
+void wskbd_rawinput __P((struct device *, u_char *, int));
/*
* Console interface.