summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJengHyun Kang <jhyuni.kang@samsung.com>2017-10-11 16:13:43 +0900
committerJengHyun Kang <jhyuni.kang@samsung.com>2017-10-11 16:13:43 +0900
commit28df6c523b246cc493e60323f4099eb76034d631 (patch)
treecee18a9d6c3b6bbed7a3f30565cc3ab8de554c5a
parent7593561a1e65fdce4bee45f1b01cc3e114d1964c (diff)
downloadlibxkbcommon-tizen_branch_bkup.tar.gz
libxkbcommon-tizen_branch_bkup.tar.bz2
libxkbcommon-tizen_branch_bkup.zip
cast a function's return valuetizen_branch_bkup
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 36f8da4..f833940 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -487,7 +487,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;