about summary refs log tree commit diff
path: root/sysdeps/posix/gai_strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/gai_strerror.c')
-rw-r--r--sysdeps/posix/gai_strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/gai_strerror.c b/sysdeps/posix/gai_strerror.c
index b89a1f6889..f5b33cb8db 100644
--- a/sysdeps/posix/gai_strerror.c
+++ b/sysdeps/posix/gai_strerror.c
@@ -43,7 +43,7 @@ values[] =
 char *
 gai_strerror (int code)
 {
-  int i;
+  size_t i;
   for (i = 0; i < sizeof (values) / sizeof (values[0]); ++i)
     if (values[i].code == code)
       return (char *) values[i].msg;