diff options
author | 2002-07-01 21:57:35 +0000 | |
---|---|---|
committer | 2002-07-01 21:57:35 +0000 | |
commit | ba15b70d5ec311949fb121b3ca73fc4a98b8c23e (patch) | |
tree | 47f013b2f57014411005df00c786aec0eeb1c9f4 | |
parent | Don't let variable declarations without "extern" living in .h files. (diff) | |
download | wireguard-openbsd-ba15b70d5ec311949fb121b3ca73fc4a98b8c23e.tar.xz wireguard-openbsd-ba15b70d5ec311949fb121b3ca73fc4a98b8c23e.zip |
more type pedant
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index e2d1c4186a6..4b02f8f1061 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getaddrinfo.c,v 1.38 2002/07/01 21:08:13 itojun Exp $ */ +/* $OpenBSD: getaddrinfo.c,v 1.39 2002/07/01 21:57:35 itojun Exp $ */ /* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */ /* @@ -1006,7 +1006,7 @@ ip6_str2scopeid(scope, sin6, scopeid) trynumeric: errno = 0; lscopeid = strtoul(scope, &ep, 10); - *scopeid = (u_int32_t)(lscopeid & 0xffffffff); + *scopeid = (u_int32_t)(lscopeid & 0xffffffffUL); if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) return 0; else |