summaryrefslogtreecommitdiff
path: root/src/TMkey.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-05-08 17:56:58 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-05-18 06:41:26 -0400
commit43a65ae23370e0f7fb427e96c6d9037d8fa1af35 (patch)
tree294632a34b0939a8620760e4a9ae8ca68007c747 /src/TMkey.c
parent9c45da7cb487b8b6980ff3020468e0fb582bdd7f (diff)
add casts to quiet compiler warnings with Solaris 11.4 / gcc 7.3.0
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/TMkey.c')
-rw-r--r--src/TMkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TMkey.c b/src/TMkey.c
index 7970f5a..4fd1eca 100644
--- a/src/TMkey.c
+++ b/src/TMkey.c
@@ -590,7 +590,7 @@ void XtTranslateKey(
*keysym_return = NoSymbol;
UNLOCK_APP(app);
#else
- XkbLookupKeySym(dpy, keycode, modifiers, modifiers_return, keysym_return);
+ XkbLookupKeySym(dpy, (KeyCode) keycode, modifiers, modifiers_return, keysym_return);
#endif
}