summaryrefslogtreecommitdiff
blob: 053e5865b341b8dc7f0426d61629d0ec3fd8b2ce (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/netselect.c
+++ b/netselect.c
@@ -780,7 +780,7 @@
 #if !defined(__GLIBC__)
     int fromlen = sizeof(from);
 #else				/* __GLIBC__ */
-    size_t fromlen = sizeof(from);
+    socklen_t fromlen = sizeof(from);
 #endif				/* __GLIBC__ */
 
     FD_ZERO(&fds);