summaryrefslogtreecommitdiffstats
path: root/x11vnc/inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/inet.c')
-rw-r--r--x11vnc/inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/inet.c b/x11vnc/inet.c
index 3095f37..4754381 100644
--- a/x11vnc/inet.c
+++ b/x11vnc/inet.c
@@ -97,7 +97,7 @@ char *ip2host(char *ip) {
int dotted_ip(char *host) {
char *p = host;
while (*p != '\0') {
- if (*p == '.' || isdigit(*p)) {
+ if (*p == '.' || isdigit((unsigned char) (*p))) {
p++;
continue;
}