aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-23 10:18:09 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-23 10:18:09 +0100
commit38b87aab087039448dc6073cc11ddbb37938c56c (patch)
tree542e9130ab45809f0d7de107a803e74f02c3352b
parent33c41074a794e5d264ebf9e3ee88ea99455f682d (diff)
downloadlibssh-38b87aab087039448dc6073cc11ddbb37938c56c.tar.gz
libssh-38b87aab087039448dc6073cc11ddbb37938c56c.tar.xz
libssh-38b87aab087039448dc6073cc11ddbb37938c56c.zip
channels: Fixed a build warning.
-rw-r--r--src/channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index f447616..5ee7b84 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1132,7 +1132,7 @@ int channel_write_common(ssh_channel channel, const void *data,
}
ssh_log(session, SSH_LOG_RARE,
- "channel_write wrote %ld bytes", effectivelen);
+ "channel_write wrote %ld bytes", (long int) effectivelen);
channel->remote_window -= effectivelen;
len -= effectivelen;