aboutsummaryrefslogtreecommitdiff
path: root/src/connect.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-07-17 17:33:55 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-07-17 17:34:27 +0200
commit8b8d9dc83af81dfaec22bbb6710083e79f00c470 (patch)
treef45f1e1f52f330a3a3fbc7ec4a440ffca5f988aa /src/connect.c
parentad24427f038221e5276903ab599359e495127b16 (diff)
downloadlibssh-8b8d9dc83af81dfaec22bbb6710083e79f00c470.tar.gz
libssh-8b8d9dc83af81dfaec22bbb6710083e79f00c470.tar.xz
libssh-8b8d9dc83af81dfaec22bbb6710083e79f00c470.zip
connect: Fix a build warning.
Diffstat (limited to 'src/connect.c')
-rw-r--r--src/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connect.c b/src/connect.c
index a47c652c..36cbb638 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -139,7 +139,7 @@ static int ssh_connect_ai_timeout(ssh_session session, const char *host,
int timeout_ms;
ssh_pollfd_t fds;
int rc = 0;
- unsigned int len = sizeof(rc);
+ socklen_t len = sizeof(rc);
enter_function();