X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgui-shell%2Fdsh.c;h=8e10cc8508816d102cbd8c0e2ebf87ae7758d029;hb=e2d7583a815eb74b97180838590cbb37fd5f1f91;hp=40ee5467ac1645defa89f245b37105e6f3ea1c49;hpb=e03797e40190969c2c97a4c3fb7cae6d48c72688;p=doldaconnect.git 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;