From d963fb524c00a6721a3f40fa843785e912a6c487 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 30 Mar 1999 10:25:20 +0000 Subject: use double instead of SMB_BIG_UINT for dir_total and ttarf (by tridge, merged from branch) (This used to be commit b482ac8fc4948ead79be8dd08c8386449f12e5f6) --- source3/client/client.c | 6 +++--- source3/client/clitar.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') 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; } -- cgit