diff options
author | Alexandre Oliva <oliva@samba.org> | 1999-03-30 10:25:20 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@samba.org> | 1999-03-30 10:25:20 +0000 |
commit | d963fb524c00a6721a3f40fa843785e912a6c487 (patch) | |
tree | 3ba94b7128851af5aa2d721cec8aea766eef2134 /source3 | |
parent | 6ce4aaad2ba38fce30c54dac4f7552b4b748e224 (diff) | |
download | samba-d963fb524c00a6721a3f40fa843785e912a6c487.tar.gz samba-d963fb524c00a6721a3f40fa843785e912a6c487.tar.bz2 samba-d963fb524c00a6721a3f40fa843785e912a6c487.zip |
use double instead of SMB_BIG_UINT for dir_total and ttarf
(by tridge, merged from branch)
(This used to be commit b482ac8fc4948ead79be8dd08c8386449f12e5f6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 6 | ||||
-rw-r--r-- | source3/client/clitar.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f42a327122..895cfb1456 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -101,7 +101,7 @@ int put_total_size = 0; int put_total_time_ms = 0; /* totals globals */ -SMB_BIG_UINT dir_total = 0; +static double dir_total; #define USENMB @@ -430,7 +430,7 @@ static void cmd_dir(void) do_dskattr(); - DEBUG(3, ("Total bytes listed: %llu\n", dir_total)); + DEBUG(3, ("Total bytes listed: %.0f\n", dir_total)); } @@ -463,7 +463,7 @@ static void cmd_du(void) do_dskattr(); - DEBUG(0, ("Total number of bytes: %llu\n", dir_total)); + DEBUG(0, ("Total number of bytes: %.0f\n", dir_total)); } diff --git a/source3/client/clitar.c b/source3/client/clitar.c index b655b2d325..a7586fcb5e 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -1487,7 +1487,7 @@ int process_tar(void) free(tarbuf); DEBUG(0, ("tar: dumped %d tar files\n", ntarf)); - DEBUG(0, ("Total bytes written: %llu\n", ttarf)); + DEBUG(0, ("Total bytes written: %.0f\n", (double)ttarf)); break; } |