summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-01 21:57:36 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-01 21:57:36 +0000
commita6259eaf9051128a634c9436438524a42d92b1de (patch)
tree7ff89352e9a97dc4cd618646fd3d8aca033a7d30 /lib/libc
parent7285dd9c888db176d011e4194a637926e51618b3 (diff)
more type pedant
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.c4
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