From 1b51530afbc5dff413ea0090834d92e1d96e96e9 Mon Sep 17 00:00:00 2001 From: runge Date: Tue, 4 Jul 2006 19:55:28 +0000 Subject: x11vnc: remove compiler warnings; HP-UX tweaks. --- x11vnc/user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11vnc/user.c') diff --git a/x11vnc/user.c b/x11vnc/user.c index 8b0bbbb..c08f27c 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -244,7 +244,7 @@ static void user2uid(char *user, uid_t *uid, char **name, char **home) { q = user; while (*q) { - if (! isdigit(*q++)) { + if (! isdigit((unsigned char) (*q++))) { numerical = 0; break; } @@ -810,7 +810,7 @@ int read_passwds(char *passfile) { } p = line; while (*p != '\0') { - if (! isspace(*p)) { + if (! isspace((unsigned char) (*p))) { blank = 0; break; } -- cgit v1.2.3