diff options
Diffstat (limited to 'inet')
-rw-r--r-- | inet/rcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c index a85cce6be0..c24dfe8116 100644 --- a/inet/rcmd.c +++ b/inet/rcmd.c @@ -209,7 +209,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af) } else { char num[8]; int s2 = rresvport_af(&lport, ai->ai_family), s3; - size_t len = ai->ai_addrlen; + socklen_t len = ai->ai_addrlen; if (s2 < 0) goto bad; |