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:
24e986c
)
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
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 21 Dec 2023 23:42:49 +0000
(08:42 +0900)
Change-Id: I16fe4f7393941353ccc12eb9c365a6911d075a17
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index 5aed2a6cd37446518c107a5b97e4ce9be5261a63..c1d5a10b8b5d5801f4dc40cc49d33cd1a9c5ebe7 100644
(file)
--- 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;