state: add missing const in get_one_sym

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-09-27 21:11:11 +02:00
parent 5aaf65b74e
commit 11df063265
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ err:
XKB_EXPORT xkb_keysym_t XKB_EXPORT xkb_keysym_t
xkb_state_key_get_one_sym(struct xkb_state *state, xkb_keycode_t kc) xkb_state_key_get_one_sym(struct xkb_state *state, xkb_keycode_t kc)
{ {
xkb_keysym_t *syms; const xkb_keysym_t *syms;
int num_syms; int num_syms;
num_syms = xkb_state_key_get_syms(state, kc, &syms); num_syms = xkb_state_key_get_syms(state, kc, &syms);