summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:24:29 +0900
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:25:08 +0900
commitc73aec9cc3b7f299ebf7a66f6bb34a7fa5d978f6 (patch)
tree509ef396a6e532407823af0354948a9557e95f12 /i386/i386at
parent4dc587e9bd3e5e1a44df36e29c22645a074ae68f (diff)
Make unsigned character constants unsigned
Thanks Marin Ramesa for the report. * i386/i386at/kd.h (K_DONE, NC, K_SCAN): Make constants unsigned.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/kd.h6
1 files 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 */