summaryrefslogtreecommitdiff
path: root/resolv/gai_misc.h
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 /resolv/gai_misc.h
parent86edd44f04891c0bd0fd347cba4bfc2a13d94377 (diff)
downloadglibc-e185d57e9933806ede21294acb2a3283a840b6c7.tar.gz
Use unsigned types for counters in getaddrinfo_a code.
Diffstat (limited to 'resolv/gai_misc.h')
-rw-r--r--resolv/gai_misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/gai_misc.h b/resolv/gai_misc.h
index 502cad6a8a..92f968830c 100644
--- a/resolv/gai_misc.h
+++ b/resolv/gai_misc.h
@@ -31,7 +31,7 @@ struct waitlist
#ifndef DONT_NEED_GAI_MISC_COND
pthread_cond_t *cond;
#endif
- volatile int *counterp;
+ volatile unsigned int *counterp;
/* The next field is used in asynchronous `lio_listio' operations. */
struct sigevent *sigevp;
/* XXX See requestlist, it's used to work around the broken signal