summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/bthidd/kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bluetooth/bthidd/kbd.c')
-rw-r--r--usr.sbin/bluetooth/bthidd/kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/bthidd/kbd.c b/usr.sbin/bluetooth/bthidd/kbd.c
index e1ab870..b5bdfe1 100644
--- a/usr.sbin/bluetooth/bthidd/kbd.c
+++ b/usr.sbin/bluetooth/bthidd/kbd.c
@@ -67,7 +67,7 @@ static int32_t kbd_xlate(int32_t code, int32_t make, int32_t *b, int32_t const *
* The "break" (key released) code is generated as "make" | 0x80
*/
-#define E0PREFIX (1 << 31)
+#define E0PREFIX (1U << 31)
#define NOBREAK (1 << 30)
#define CODEMASK (~(E0PREFIX|NOBREAK))
OpenPOWER on IntegriCloud