projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d6250
)
cast a function's return value
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Wed, 11 Oct 2017 07:13:43 +0000
(16:13 +0900)
committer
Duna Oh
<duna.oh@samsung.com>
Mon, 7 Feb 2022 05:49:54 +0000
(14:49 +0900)
Change-Id: I16fe4f7393941353ccc12eb9c365a6911d075a17
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index
6245ba6
..
4ae648e
100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-583,7
+583,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;