diff options
author | runge <runge> | 2006-07-04 19:55:28 +0000 |
---|---|---|
committer | runge <runge> | 2006-07-04 19:55:28 +0000 |
commit | 1b51530afbc5dff413ea0090834d92e1d96e96e9 (patch) | |
tree | 98720532dfb9ab9b2e7763d3cd54340a768f45b8 /x11vnc/x11vnc.c | |
parent | a7726a6f970f49c2bedac4926aa30de18d96ae41 (diff) | |
download | libtdevnc-1b51530afbc5dff413ea0090834d92e1d96e96e9.tar.gz libtdevnc-1b51530afbc5dff413ea0090834d92e1d96e96e9.zip |
x11vnc: remove compiler warnings; HP-UX tweaks.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 892adba..047858c 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -754,7 +754,7 @@ static void check_rcfile(int argc, char **argv) { *(q-1) = ' '; break; } - while (isspace(*q)) { + while (isspace((unsigned char) (*q))) { *q = '\0'; if (q == p) { break; @@ -770,7 +770,7 @@ static void check_rcfile(int argc, char **argv) { if (*q == '\0') { q--; } - while (isspace(*q)) { + while (isspace((unsigned char) (*q))) { *q = '\0'; if (q == p) { break; @@ -793,7 +793,7 @@ static void check_rcfile(int argc, char **argv) { q = buf; while (*q) { i++; - if (*q == '\n' || isspace(*q)) { + if (*q == '\n' || isspace((unsigned char) (*q))) { break; } q++; @@ -1916,7 +1916,7 @@ int main(int argc, char* argv[]) { if (*s == '-') { s++; } - if (isdigit(*s)) { + if (isdigit((unsigned char) (*s))) { no_repeat_countdown = atoi(argv[++i]); } } |