Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wscons pass raw keyboard data unsigned to avoid sign...



details:   https://anonhg.NetBSD.org/src/rev/42fff1a0436f
branches:  trunk
changeset: 480883:42fff1a0436f
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat Jan 22 15:09:00 2000 +0000

description:
pass raw keyboard data unsigned to avoid sign extension

diffstat:

 sys/dev/wscons/wskbd.c    |  6 +++---
 sys/dev/wscons/wskbdvar.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 351d66459b31 -r 42fff1a0436f sys/dev/wscons/wskbd.c
--- a/sys/dev/wscons/wskbd.c    Sat Jan 22 14:48:43 2000 +0000
+++ b/sys/dev/wscons/wskbd.c    Sat Jan 22 15:09:00 2000 +0000
@@ -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 @@
 void
 wskbd_rawinput(dev, buf, len)
        struct device *dev;
-       char *buf;
+       u_char *buf;
        int len;
 {
 #if NWSDISPLAY > 0
diff -r 351d66459b31 -r 42fff1a0436f sys/dev/wscons/wskbdvar.h
--- a/sys/dev/wscons/wskbdvar.h Sat Jan 22 14:48:43 2000 +0000
+++ b/sys/dev/wscons/wskbdvar.h Sat Jan 22 15:09:00 2000 +0000
@@ -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 @@
  */
 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.



Home | Main Index | Thread Index | Old Index