about summary refs log tree commit diff
path: root/posix/tst-getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-getaddrinfo.c')
-rw-r--r--posix/tst-getaddrinfo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/tst-getaddrinfo.c b/posix/tst-getaddrinfo.c
index 9300cc6740..565621ed9e 100644
--- a/posix/tst-getaddrinfo.c
+++ b/posix/tst-getaddrinfo.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -28,7 +28,8 @@ do_test (void)
 {
   const int family[2] = { AF_INET, AF_INET6 };
   int result = 0;
-  int gaierr, index;
+  int gaierr;
+  size_t index;
   struct addrinfo hints, *ai, *aitop;
 
   for (index = 0; index < sizeof (family) / sizeof (family[0]); ++index)