From: Fredrik Tolf Date: Thu, 14 Feb 2008 05:31:49 +0000 (+0100) Subject: Fixed up doldacond-shell for 64-bit transfers. X-Git-Tag: 1.1~12 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=e2d7583a815eb74b97180838590cbb37fd5f1f91 Fixed up doldacond-shell for 64-bit transfers. --- 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;