summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJengHyun Kang <jhyuni.kang@samsung.com>2017-10-11 16:13:43 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2023-12-22 08:42:49 +0900
commit61deac5607691686c89507dcb57c8fd8214d5fe9 (patch)
tree8e1e60e3915591e8ec0e26968bd51893dc774b36
parent24e986c17a5b16243e4bf5884186bbeb37d73054 (diff)
downloadlibxkbcommon-61deac5607691686c89507dcb57c8fd8214d5fe9.tar.gz
libxkbcommon-61deac5607691686c89507dcb57c8fd8214d5fe9.tar.bz2
libxkbcommon-61deac5607691686c89507dcb57c8fd8214d5fe9.zip
cast a function's return value
Change-Id: I16fe4f7393941353ccc12eb9c365a6911d075a17
-rw-r--r--src/keymap.c2
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;