summaryrefslogtreecommitdiff
path: root/lib/sockunion.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sockunion.c')
-rw-r--r--lib/sockunion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c
index e4b311c7..039da1a9 100644
--- a/lib/sockunion.c
+++ b/lib/sockunion.c
@@ -557,7 +557,7 @@ union sockunion *
sockunion_getsockname (int fd)
{
int ret;
- int len;
+ socklen_t len;
union
{
struct sockaddr sa;
@@ -612,7 +612,7 @@ union sockunion *
sockunion_getpeername (int fd)
{
int ret;
- int len;
+ socklen_t len;
union
{
struct sockaddr sa;