aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-10-31 13:39:07 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-09 16:08:03 +0100
commit0abd187dba22d4ad9a02bd9a36d5d7179e5df4ec (patch)
tree052b810d3a875c1051dc52b3b7e6b34585d94094
parent07a57b74ba0fb98da5dc2682473a60b743c6827d (diff)
downloadlibssh-0abd187dba22d4ad9a02bd9a36d5d7179e5df4ec.tar.gz
libssh-0abd187dba22d4ad9a02bd9a36d5d7179e5df4ec.tar.xz
libssh-0abd187dba22d4ad9a02bd9a36d5d7179e5df4ec.zip
channels: Fix type of arguments of channel_open()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
-rw-r--r--src/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index 62d9a65e..a3f410fd 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -284,8 +284,8 @@ static int ssh_channel_open_termination(void *c){
static int
channel_open(ssh_channel channel,
const char *type,
- int window,
- int maxpacket,
+ uint32_t window,
+ uint32_t maxpacket,
ssh_buffer payload)
{
ssh_session session = channel->session;