diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-04-15 19:02:21 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-04-15 19:02:21 +0200 |
commit | ef658b4bef82670b6064078df355d6b6cf5ac999 (patch) | |
tree | d88754a00e1a87750e47271fe4bb7157d9ddfffb /src/kex.c | |
parent | a6c53d51de3601058d990d2f2d99649760cd3029 (diff) | |
download | libssh-ef658b4bef82670b6064078df355d6b6cf5ac999.tar.gz libssh-ef658b4bef82670b6064078df355d6b6cf5ac999.tar.xz libssh-ef658b4bef82670b6064078df355d6b6cf5ac999.zip |
Fix assertion with Visual Studio because of %zu.
Diffstat (limited to 'src/kex.c')
-rw-r--r-- | src/kex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -761,7 +761,7 @@ SSH_PACKET_CALLBACK(ssh_packet_publickey1){ } bits = ssh_string_len(enc_session) * 8 - 7; - ssh_log(session, SSH_LOG_PROTOCOL, "%d bits, %zu bytes encrypted session", + ssh_log(session, SSH_LOG_PROTOCOL, "%d bits, %" PRIdS " bytes encrypted session", bits, ssh_string_len(enc_session)); bits = htons(bits); /* the encrypted mpint */ |