aboutsummaryrefslogtreecommitdiff
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:31:35 +0100
commit1c9d2a97ea7a5c3258b99e4d69c0522477497356 (patch)
tree591374d8f38c410f5191f65de1df72855dfa165b
parent297e8d9c1bbcbed27f11673aa38a17862ecaeadb (diff)
downloadlibssh-1c9d2a97ea7a5c3258b99e4d69c0522477497356.tar.gz
libssh-1c9d2a97ea7a5c3258b99e4d69c0522477497356.tar.xz
libssh-1c9d2a97ea7a5c3258b99e4d69c0522477497356.zip
poll: Fix size type
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poll.c b/src/poll.c
index 6b516930..36b6990e 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;