From e2d7583a815eb74b97180838590cbb37fd5f1f91 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 14 Feb 2008 06:31:49 +0100 Subject: [PATCH] Fixed up doldacond-shell for 64-bit transfers. --- clients/gui-shell/dsh.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/clients/gui-shell/dsh.c b/clients/gui-shell/dsh.c index 40ee546..8e10cc8 100644 --- a/clients/gui-shell/dsh.c +++ b/clients/gui-shell/dsh.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -46,7 +47,8 @@ struct trinfo { int ostate; - int opos, spos, speed; + intmax_t opos, spos; + int speed; time_t lastprog; int warned; double sprog; @@ -202,7 +204,8 @@ void updatetooltip(void) { struct dc_transfer *tr; struct trinfo *tri; - int t, i, a, st, bc, bt; + int t, i, a, st; + intmax_t bc, bt; char *buf; size_t bufsize, bufdata; -- 2.11.0