summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-01-13 19:45:16 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-01-13 19:45:16 +0000
commit81f39406db7bf80f216fadda466ff7406eb84123 (patch)
tree7c110885d66b3ac96b8938704b4f36c160863934
parent680987fdbb16ab56c78ed02242b7e9a08ccc80f7 (diff)
cast for portability; millert@
-rw-r--r--usr.bin/ssh/compress.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ssh/compress.c b/usr.bin/ssh/compress.c
index 2dea7cf36f5..0d1c7e55e8e 100644
--- a/usr.bin/ssh/compress.c
+++ b/usr.bin/ssh/compress.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: compress.c,v 1.20 2004/01/13 19:23:15 markus Exp $");
+RCSID("$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $");
#include "log.h"
#include "buffer.h"
@@ -57,11 +57,13 @@ void
buffer_compress_uninit(void)
{
debug("compress outgoing: raw data %llu, compressed %llu, factor %.2f",
- outgoing_stream.total_in, outgoing_stream.total_out,
+ (unsigned long long)outgoing_stream.total_in,
+ (unsigned long long)outgoing_stream.total_out,
outgoing_stream.total_in == 0 ? 0.0 :
(double) outgoing_stream.total_out / outgoing_stream.total_in);
debug("compress incoming: raw data %llu, compressed %llu, factor %.2f",
- incoming_stream.total_out, incoming_stream.total_in,
+ (unsigned long long)incoming_stream.total_out,
+ (unsigned long long)incoming_stream.total_in,
incoming_stream.total_out == 0 ? 0.0 :
(double) incoming_stream.total_in / incoming_stream.total_out);
if (compress_init_recv_called == 1 && inflate_failed == 0)