summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-02-05 15:33:34 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-02-05 15:33:34 +0000
commit84cb413d13efb1c617f2b3d7910e3f0d26f1d949 (patch)
tree4a9b01c432e36f22eeb8a3a39d33b7587f99378c
parente864cea5ce910d455358fcc1d358df7ad954d62c (diff)
fix ETA for > 4GB; bugzilla #791; ok henning@ deraadt@
-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 44542d88bd7..31adde2964f 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.18 2003/12/02 12:15:10 markus Exp $");
+RCSID("$OpenBSD: progressmeter.c,v 1.19 2004/02/05 15:33:33 markus Exp $");
#include "progressmeter.h"
#include "atomicio.h"
@@ -106,7 +106,7 @@ refresh_progress_meter(void)
off_t transferred;
double elapsed;
int percent;
- int bytes_left;
+ off_t bytes_left;
int cur_speed;
int hours, minutes, seconds;
int i, len;