summaryrefslogtreecommitdiffstats
path: root/libssh/channels.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-14 15:14:18 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-14 15:14:18 +0000
commit08e24088962025483b7cfdabb1c574624e730e7f (patch)
tree9f72dc9365f1665b26bf303042e56054e3dffe98 /libssh/channels.c
parent453b91903bb4d6ab08487055254ae33a2dddaf81 (diff)
downloadlibssh-08e24088962025483b7cfdabb1c574624e730e7f.tar.gz
libssh-08e24088962025483b7cfdabb1c574624e730e7f.tar.xz
libssh-08e24088962025483b7cfdabb1c574624e730e7f.zip
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@273 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/channels.c')
-rw-r--r--libssh/channels.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index 09df81d..57c8dc8 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -113,9 +113,9 @@ static int channel_open(CHANNEL *channel,char *type_c,int window,
channel->local_channel,
channel->remote_channel);
ssh_log(session, SSH_LOG_PROTOCOL,
- "Remote window : %ld, maxpacket : %ld",
- channel->remote_window,
- channel->remote_maxpacket);
+ "Remote window : %lu, maxpacket : %lu",
+ (long unsigned int) channel->remote_window,
+ (long unsigned int) channel->remote_maxpacket);
channel->open=1;
leave_function();
return 0;