Commit 11df063265655f2c165c80bb1e6e30f443dffd68

Ran Benita 2012-09-27T21:11:11

state: add missing const in get_one_sym Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/state.c b/src/state.c
index f22c7a7..458bc61 100644
--- a/src/state.c
+++ b/src/state.c
@@ -771,7 +771,7 @@ err:
 XKB_EXPORT xkb_keysym_t
 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;
 
     num_syms = xkb_state_key_get_syms(state, kc, &syms);