The return value of ssh_buffer_get_len is uint32_t instead of size_t.
Signed-off-by: Heiko Thiery <[email protected]>
---
src/channels.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/channels.c b/src/channels.c
index d0eeddf9..20cafeac 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -3092,7 +3092,7 @@ int ssh_channel_poll_timeout(ssh_channel channel, int
timeout, int is_stderr)
ssh_session session;
ssh_buffer stdbuf;
struct ssh_channel_read_termination_struct ctx;
- size_t len;
+ uint32_t len;
int rc;
if(channel == NULL) {
--
2.20.1