aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-05-12 15:36:49 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-12 15:36:49 -0700
commit61a46c8daf71553b099fe1926b9c0574aa4ccc66 (patch)
tree5bcc4576feca736100ec99bd808b57c3bcb8f6cb /com32/libutil
parent09f4b286c23b0bf04898b4c4653c84ffb1ac139c (diff)
downloadsyslinux-61a46c8daf71553b099fe1926b9c0574aa4ccc66.tar.gz
syslinux-61a46c8daf71553b099fe1926b9c0574aa4ccc66.tar.xz
syslinux-61a46c8daf71553b099fe1926b9c0574aa4ccc66.zip
get_key.c: fix signedness error
Fix signedness error, part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/libutil')
-rw-r--r--com32/libutil/get_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/libutil/get_key.c b/com32/libutil/get_key.c
index a742fd49..f277b43b 100644
--- a/com32/libutil/get_key.c
+++ b/com32/libutil/get_key.c
@@ -49,7 +49,7 @@ struct keycode {
};
#define MAXLEN 8
-#define CODE(x,y) { x, (sizeof y)-1, y }
+#define CODE(x,y) { x, (sizeof y)-1, (const unsigned char *)(y) }
static const struct keycode keycodes[] = {
/* First, the BIOS combined codes */