aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2011-09-21 11:10:52 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-09-21 11:10:52 +0100
commit7b0a03a1eab52ed2f59c8e4cb2210ee74433a820 (patch)
treea378a2584dd6efb08254147753c1206fda2ff499 /ui
parent8b3692d13620549c2ca85d9201c32d47b74bb755 (diff)
downloadqemu-7b0a03a1eab52ed2f59c8e4cb2210ee74433a820.zip
qemu-7b0a03a1eab52ed2f59c8e4cb2210ee74433a820.tar.gz
qemu-7b0a03a1eab52ed2f59c8e4cb2210ee74433a820.tar.bz2
use qemu_* ctype functions
Fix "warning: array subscript has type 'char'" on NetBSD. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/keymaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/keymaps.c b/ui/keymaps.c
index 81003bb..f54a114 100644
--- a/ui/keymaps.c
+++ b/ui/keymaps.c
@@ -146,7 +146,7 @@ static kbd_layout_t *parse_keyboard_layout(const name2keysym_t *table,
if (rest && strstr(rest, "addupper")) {
char *c;
for (c = line; *c; c++)
- *c = toupper(*c);
+ *c = qemu_toupper(*c);
keysym = get_keysym(table, line);
if (keysym)
add_keysym(line, keysym, keycode | SCANCODE_SHIFT, k);