about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/opensock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/opensock.c')
-rw-r--r--sysdeps/unix/sysv/linux/opensock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/opensock.c b/sysdeps/unix/sysv/linux/opensock.c
index 7913886b6c..2252980789 100644
--- a/sysdeps/unix/sysv/linux/opensock.c
+++ b/sysdeps/unix/sysv/linux/opensock.c
@@ -59,7 +59,7 @@ __opensock (void)
   char fname[sizeof "/proc/" + 14];
   int result;
   int has_proc;
-  int cnt;
+  size_t cnt;
 
   /* We already know which family to use from the last call.  Use it
      again.  */