diff options
Diffstat (limited to 'progressmeter.c')
-rw-r--r-- | progressmeter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progressmeter.c b/progressmeter.c index f42668526..e74f4785f 100644 --- a/progressmeter.c +++ b/progressmeter.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: progressmeter.c,v 1.19 2004/02/05 15:33:33 markus Exp $"); | 26 | RCSID("$OpenBSD: progressmeter.c,v 1.20 2004/05/11 19:01:43 deraadt Exp $"); |
27 | 27 | ||
28 | #include "progressmeter.h" | 28 | #include "progressmeter.h" |
29 | #include "atomicio.h" | 29 | #include "atomicio.h" |
@@ -167,7 +167,7 @@ refresh_progress_meter(void) | |||
167 | 167 | ||
168 | /* bandwidth usage */ | 168 | /* bandwidth usage */ |
169 | format_rate(buf + strlen(buf), win_size - strlen(buf), | 169 | format_rate(buf + strlen(buf), win_size - strlen(buf), |
170 | bytes_per_second); | 170 | (off_t)bytes_per_second); |
171 | strlcat(buf, "/s ", win_size); | 171 | strlcat(buf, "/s ", win_size); |
172 | 172 | ||
173 | /* ETA */ | 173 | /* ETA */ |