aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-06-24 17:58:12 -0700
committerRoland McGrath <roland@hack.frob.com>2015-06-24 17:58:12 -0700
commite185d57e9933806ede21294acb2a3283a840b6c7 (patch)
tree5a002fdbee89ed64bb7d3c950d23d02e1ed6099a /sysdeps/nptl
parent86edd44f04891c0bd0fd347cba4bfc2a13d94377 (diff)
downloadglibc-e185d57e9933806ede21294acb2a3283a840b6c7.zip
glibc-e185d57e9933806ede21294acb2a3283a840b6c7.tar.gz
glibc-e185d57e9933806ede21294acb2a3283a840b6c7.tar.bz2
Use unsigned types for counters in getaddrinfo_a code.
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r--sysdeps/nptl/gai_misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/nptl/gai_misc.h b/sysdeps/nptl/gai_misc.h
index bb83dca..a34dbc0 100644
--- a/sysdeps/nptl/gai_misc.h
+++ b/sysdeps/nptl/gai_misc.h
@@ -35,8 +35,8 @@
#define GAI_MISC_WAIT(result, futex, timeout, cancel) \
do { \
- volatile int *futexaddr = &futex; \
- int oldval = futex; \
+ volatile unsigned int *futexaddr = &futex; \
+ unsigned int oldval = futex; \
\
if (oldval != 0) \
{ \