summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/kbdmux/kbdmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c
index 0f1fe42..990c8c3 100644
--- a/sys/dev/kbdmux/kbdmux.c
+++ b/sys/dev/kbdmux/kbdmux.c
@@ -181,10 +181,10 @@ kbdmux_kbd_putc(kbdmux_state_t *state, char c)
state->ks_inq_length++;
}
-static char
+static int
kbdmux_kbd_getc(kbdmux_state_t *state)
{
- char c;
+ unsigned char c;
if (state->ks_inq_length == 0)
return (-1);
OpenPOWER on IntegriCloud