From cd41e5ab857a33e05fa231756ff15707f2f5ce23 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 3 Oct 2002 03:27:00 +0000 Subject: Patch from Steve Langasek to use nice big integers when attempting to calculate the bytes/second being transferred. (Avoid overflow etc) Andrew Bartlett --- source/client/client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/client') diff --git a/source/client/client.c b/source/client/client.c index f25ed1623b0..31c047c1c52 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -94,10 +94,10 @@ static pstring fileselection = ""; extern file_info def_finfo; /* timing globals */ -int get_total_size = 0; -int get_total_time_ms = 0; -static int put_total_size = 0; -static int put_total_time_ms = 0; +SMB_BIG_UINT get_total_size = 0; +unsigned int get_total_time_ms = 0; +static SMB_BIG_UINT put_total_size = 0; +static unsigned int put_total_time_ms = 0; /* totals globals */ static double dir_total; -- cgit