summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc/dev/kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/kbd.c b/sys/arch/sparc/dev/kbd.c
index 1a2f3553902..194da8fdd6e 100644
--- a/sys/arch/sparc/dev/kbd.c
+++ b/sys/arch/sparc/dev/kbd.c
@@ -605,7 +605,7 @@ kbdioctl(dev_t dev, u_long cmd, register caddr_t data, int flag, struct proc *p)
* This is X11 asking if a type 3 keyboard is
* really a type 3 keyboard. Say yes.
*/
- ((struct okiockey *)data)->kio_entry = HOLE;
+ ((struct okiockey *)data)->kio_entry = (u_char) HOLE;
return (0);
}
break;