From 0b6e6e525946ae5a5175b07e300f4c56c0111adb Mon Sep 17 00:00:00 2001 From: Ga?l PORTAY Date: Sat, 2 May 2015 13:58:05 +0200 Subject: Turn start_send_channel_request()'s type argument into char * --- common-channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common-channel.c') diff --git a/common-channel.c b/common-channel.c index a2ab985..6d69de9 100644 --- a/common-channel.c +++ b/common-channel.c @@ -1244,12 +1244,12 @@ struct Channel* get_any_ready_channel() { } void start_send_channel_request(struct Channel *channel, - unsigned char *type) { + char *type) { CHECKCLEARTOWRITE(); buf_putbyte(ses.writepayload, SSH_MSG_CHANNEL_REQUEST); buf_putint(ses.writepayload, channel->remotechan); - buf_putstring(ses.writepayload, type, strlen(type)); + buf_putstring(ses.writepayload, (const unsigned char *) type, strlen(type)); } -- cgit v1.2.1