diff options
author | JengHyun Kang <jhyuni.kang@samsung.com> | 2017-10-11 16:13:43 +0900 |
---|---|---|
committer | Sung-Jin Park <sj76.park@samsung.com> | 2017-10-20 16:41:55 +0900 |
commit | f0a24579e8f609a282571ab966f1461e7d1d840f (patch) | |
tree | e1c49d9eea5931442720fb6e693a4e456d155719 | |
parent | a56dbb6d48988e6727627661bad4cbe83bbc5836 (diff) | |
download | libxkbcommon-f0a24579e8f609a282571ab966f1461e7d1d840f.tar.gz libxkbcommon-f0a24579e8f609a282571ab966f1461e7d1d840f.tar.bz2 libxkbcommon-f0a24579e8f609a282571ab966f1461e7d1d840f.zip |
cast a function's return value
Change-Id: I16fe4f7393941353ccc12eb9c365a6911d075a17
-rw-r--r-- | src/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c index 799c7f0..1ea223f 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -521,7 +521,7 @@ xkb_keymap_key_repeats(struct xkb_keymap *keymap, xkb_keycode_t kc) XKB_EXPORT int xkb_keymap_key_set_repeats(struct xkb_keymap *keymap, xkb_keycode_t kc, int enable) { - struct xkb_key *key = XkbKey(keymap, kc); + struct xkb_key *key = (struct xkb_key *)XkbKey(keymap, kc); if (!key) return 0; |