summaryrefslogtreecommitdiffstats
path: root/libssh/channels.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-01 10:22:14 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-01 10:22:14 +0000
commit186667724a70dc146ac92e03ab4eb3eb2cee222d (patch)
tree27d2f52d4e4f3d4c65d3606e1b8e3c3660de2ab5 /libssh/channels.c
parentf80efcc26070bb6d42fca830d80aed3fca82206e (diff)
downloadlibssh-186667724a70dc146ac92e03ab4eb3eb2cee222d.tar.gz
libssh-186667724a70dc146ac92e03ab4eb3eb2cee222d.tar.xz
libssh-186667724a70dc146ac92e03ab4eb3eb2cee222d.zip
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@315 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/channels.c')
-rw-r--r--libssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index 3fb37234..1fe7388d 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -246,7 +246,7 @@ static void channel_rcv_data(SSH_SESSION *session,int is_stderr){
return;
}
ssh_log(session, SSH_LOG_PROTOCOL,
- "Channel receiving %d bytes data in %d (local win=%d remote win=%d)",
+ "Channel receiving %zu bytes data in %d (local win=%d remote win=%d)",
string_len(str),
is_stderr,
channel->local_window,
@@ -254,7 +254,7 @@ static void channel_rcv_data(SSH_SESSION *session,int is_stderr){
/* what shall we do in this case ? let's accept it anyway */
if(string_len(str)>channel->local_window)
ssh_log(session, SSH_LOG_RARE,
- "Data packet too big for our window(%d vs %d)",
+ "Data packet too big for our window(%zu vs %d)",
string_len(str),
channel->local_window);
channel_default_bufferize(channel,str->string,string_len(str), is_stderr);