summaryrefslogtreecommitdiffstats
path: root/x11vnc/inet.c
diff options
context:
space:
mode:
authorrunge <runge>2006-07-04 19:55:28 +0000
committerrunge <runge>2006-07-04 19:55:28 +0000
commit1b51530afbc5dff413ea0090834d92e1d96e96e9 (patch)
tree98720532dfb9ab9b2e7763d3cd54340a768f45b8 /x11vnc/inet.c
parenta7726a6f970f49c2bedac4926aa30de18d96ae41 (diff)
downloadlibtdevnc-1b51530afbc5dff413ea0090834d92e1d96e96e9.tar.gz
libtdevnc-1b51530afbc5dff413ea0090834d92e1d96e96e9.zip
x11vnc: remove compiler warnings; HP-UX tweaks.
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;
}