about summary refs log tree commit diff
path: root/resolv/gai_suspend.c
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_suspend.c
parent86edd44f04891c0bd0fd347cba4bfc2a13d94377 (diff)
downloadglibc-e185d57e9933806ede21294acb2a3283a840b6c7.tar.gz
glibc-e185d57e9933806ede21294acb2a3283a840b6c7.tar.xz
glibc-e185d57e9933806ede21294acb2a3283a840b6c7.zip
Use unsigned types for counters in getaddrinfo_a code.
Diffstat (limited to 'resolv/gai_suspend.c')
-rw-r--r--resolv/gai_suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index 26a2b4e353..c3a1288360 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -35,7 +35,7 @@ gai_suspend (const struct gaicb *const list[], int ent,
   pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
 #endif
   int cnt;
-  int cntr = 1;
+  unsigned int cntr = 1;
   int none = 1;
   int result;