diff options
author | JengHyun Kang <jhyuni.kang@samsung.com> | 2017-10-11 16:13:43 +0900 |
---|---|---|
committer | Jihoon Kim <jihoon48.kim@samsung.com> | 2023-12-22 08:42:49 +0900 |
commit | 61deac5607691686c89507dcb57c8fd8214d5fe9 (patch) | |
tree | 8e1e60e3915591e8ec0e26968bd51893dc774b36 | |
parent | 24e986c17a5b16243e4bf5884186bbeb37d73054 (diff) | |
download | libxkbcommon-61deac5607691686c89507dcb57c8fd8214d5fe9.tar.gz libxkbcommon-61deac5607691686c89507dcb57c8fd8214d5fe9.tar.bz2 libxkbcommon-61deac5607691686c89507dcb57c8fd8214d5fe9.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 5aed2a6..c1d5a10 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -587,7 +587,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; |