aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2020-01-15 17:19:41 +0100
committerAndreas Schneider <asn@cryptomilk.org>2020-02-12 09:39:06 +0100
commit702e7e4c85da3b5aaab909c609e76dced9a76275 (patch)
treeaa659825aa7cb524488adbe75e2c336389fd0731
parent8542f675f43f88c846398a7cb326a44cc1b6bb21 (diff)
downloadlibssh-702e7e4c85da3b5aaab909c609e76dced9a76275.tar.gz
libssh-702e7e4c85da3b5aaab909c609e76dced9a76275.tar.xz
libssh-702e7e4c85da3b5aaab909c609e76dced9a76275.zip
channels: Replace PRIdS with ANSI C99 %zu
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 05dcf8f6..d0eeddf9 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -544,7 +544,7 @@ SSH_PACKET_CALLBACK(channel_rcv_data){
len = ssh_string_len(str);
SSH_LOG(SSH_LOG_PACKET,
- "Channel receiving %" PRIdS " bytes data in %d (local win=%d remote win=%d)",
+ "Channel receiving %zu bytes data in %d (local win=%d remote win=%d)",
len,
is_stderr,
channel->local_window,
@@ -553,7 +553,7 @@ SSH_PACKET_CALLBACK(channel_rcv_data){
/* What shall we do in this case? Let's accept it anyway */
if (len > channel->local_window) {
SSH_LOG(SSH_LOG_RARE,
- "Data packet too big for our window(%" PRIdS " vs %d)",
+ "Data packet too big for our window(%zu vs %d)",
len,
channel->local_window);
}