diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-03-14 15:14:18 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-03-14 15:14:18 +0000 |
commit | 08e24088962025483b7cfdabb1c574624e730e7f (patch) | |
tree | 9f72dc9365f1665b26bf303042e56054e3dffe98 /libssh/crypt.c | |
parent | 453b91903bb4d6ab08487055254ae33a2dddaf81 (diff) | |
download | libssh-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/crypt.c')
-rw-r--r-- | libssh/crypt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libssh/crypt.c b/libssh/crypt.c index 3e5bb5a..902ace2 100644 --- a/libssh/crypt.c +++ b/libssh/crypt.c @@ -39,7 +39,10 @@ u32 packet_decrypt_len(SSH_SESSION *session, char *crypted){ if(session->current_crypto) packet_decrypt(session,crypted,session->current_crypto->in_cipher->blocksize); memcpy(&decrypted,crypted,sizeof(decrypted)); - ssh_log(session,SSH_LOG_PACKET,"packet size decrypted : %d (0x%lx)",ntohl(decrypted),ntohl(decrypted)); + ssh_log(session, SSH_LOG_PACKET, + "Packet size decrypted: %lu (0x%lx)", + (long unsigned int) ntohl(decrypted), + (long unsigned int) ntohl(decrypted)); return ntohl(decrypted); } |