From c73aec9cc3b7f299ebf7a66f6bb34a7fa5d978f6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 8 Dec 2013 23:24:29 +0900 Subject: Make unsigned character constants unsigned Thanks Marin Ramesa for the report. * i386/i386at/kd.h (K_DONE, NC, K_SCAN): Make constants unsigned. --- i386/i386at/kd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h index d97fdd5..9d297d1 100644 --- a/i386/i386at/kd.h +++ b/i386/i386at/kd.h @@ -361,10 +361,10 @@ typedef u_char Scancode; * Other mappable non-Ascii keys (e.g., "ctrl") are represented by a * two-byte sequence: K_SCAN, followed by the key's scan code. */ -#define K_DONE 0xff /* must be same as NC */ -#define NC 0xff /* No character defined */ +#define K_DONE 0xffu /* must be same as NC */ +#define NC 0xffu /* No character defined */ -#define K_SCAN 0xfe /* followed by scan code */ +#define K_SCAN 0xfeu /* followed by scan code */ /* ascii char set */ #define K_NUL 0x00 /* Null character */ -- cgit v1.2.3