diff options
Diffstat (limited to 'usr/klibc/inet/inet_pton.c')
-rw-r--r-- | usr/klibc/inet/inet_pton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/klibc/inet/inet_pton.c b/usr/klibc/inet/inet_pton.c index 2df6b677653f4d..a319506abd390c 100644 --- a/usr/klibc/inet/inet_pton.c +++ b/usr/klibc/inet/inet_pton.c @@ -43,7 +43,7 @@ int inet_pton(int af, const char *src, void *dst) colons++; if (p[1] == ':') dcolons++; - } else if (!isxdigit(*p)) + } else if (!isxdigit((unsigned char)*p)) return 0; /* Invalid address */ } |