summaryrefslogtreecommitdiffstats
path: root/x11vnc/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/keyboard.c')
-rw-r--r--x11vnc/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c
index a2ae349..d056d05 100644
--- a/x11vnc/keyboard.c
+++ b/x11vnc/keyboard.c
@@ -579,7 +579,7 @@ static void add_dead_keysyms(char *str) {
p = str;
while (*p != '\0') {
- if (isspace(*p)) {
+ if (isspace((unsigned char) (*p))) {
*p = '\0';
}
p++;