projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix all implicit conversion between signed/unsigned pointers
[musl]
/
src
/
network
/
getaddrinfo.c
diff --git
a/src/network/getaddrinfo.c
b/src/network/getaddrinfo.c
index
90e85f6
..
8126236
100644
(file)
--- a/
src/network/getaddrinfo.c
+++ b/
src/network/getaddrinfo.c
@@
-13,7
+13,7
@@
static int is_valid(const char *host)
{
const unsigned char *s;
if (strlen(host)-1 > 254 || mbstowcs(0, host, 0) > 255) return 0;
- for (s=host; *s>=0x80 || *s=='.' || *s=='-' || isalnum(*s); s++);
+ for (s=
(void *)
host; *s>=0x80 || *s=='.' || *s=='-' || isalnum(*s); s++);
return !*s;
}