summaryrefslogtreecommitdiff
path: root/xkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkill.c')
-rw-r--r--xkill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkill.c b/xkill.c
index 9bbde1c..2270dcd 100644
--- a/xkill.c
+++ b/xkill.c
@@ -241,9 +241,9 @@ parse_button(char *s, int *buttonp)
for (cp = s; *cp; cp++) {
if (isascii (*cp) && isupper (*cp)) {
#ifdef _tolower
- *cp = _tolower (*cp);
+ *cp = (char) _tolower (*cp);
#else
- *cp = tolower (*cp);
+ *cp = (char) tolower (*cp);
#endif /* _tolower */
}
}