aboutsummaryrefslogtreecommitdiff
path: root/src/poll.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-11-21 13:26:16 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-09 15:42:43 +0100
commitfc840d8d690ec86447f47747e776b08b095f9365 (patch)
treeedbd6d864db3a576c9e2fa51a9cd6fc5e78d97b8 /src/poll.c
parent0e7a962417cb7fe944a6b1d96107e97c323bfff4 (diff)
downloadlibssh-fc840d8d690ec86447f47747e776b08b095f9365.tar.gz
libssh-fc840d8d690ec86447f47747e776b08b095f9365.tar.xz
libssh-fc840d8d690ec86447f47747e776b08b095f9365.zip
poll: Fix size type
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/poll.c')
-rw-r--r--src/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poll.c b/src/poll.c
index 8c4446d0..2f6d1c4b 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -594,7 +594,7 @@ void ssh_poll_ctx_remove(ssh_poll_ctx ctx, ssh_poll_handle p) {
int ssh_poll_ctx_dopoll(ssh_poll_ctx ctx, int timeout)
{
int rc;
- int i, used;
+ size_t i, used;
ssh_poll_handle p;
socket_t fd;
int revents;