summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/progressmeter.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-11 19:01:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-11 19:01:44 +0000
commit864be3f922476a5c2cc5e3ec42c6881063ce787f (patch)
treed5f2fcc19905bc234c22d2a7e59c30969afd184c /usr.bin/ssh/progressmeter.c
parente58c86ca6a450ac471b70aba4aadaa52d0b1aaa3 (diff)
improve some code lint did not like; djm millert ok
Diffstat (limited to 'usr.bin/ssh/progressmeter.c')
-rw-r--r--usr.bin/ssh/progressmeter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/progressmeter.c b/usr.bin/ssh/progressmeter.c
index 31adde2964f..8b1b8859a8c 100644
--- a/usr.bin/ssh/progressmeter.c
+++ b/usr.bin/ssh/progressmeter.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: progressmeter.c,v 1.19 2004/02/05 15:33:33 markus Exp $");
+RCSID("$OpenBSD: progressmeter.c,v 1.20 2004/05/11 19:01:43 deraadt Exp $");
#include "progressmeter.h"
#include "atomicio.h"
@@ -166,7 +166,7 @@ refresh_progress_meter(void)
/* bandwidth usage */
format_rate(buf + strlen(buf), win_size - strlen(buf),
- bytes_per_second);
+ (off_t)bytes_per_second);
strlcat(buf, "/s ", win_size);
/* ETA */