summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c6
-rw-r--r--source3/client/clitar.c2
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;
}