summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c4
-rw-r--r--source3/client/clitar.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 830a43287e..a4bcd462b1 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 */
-int dir_total = 0;
+SMB_BIG_UINT dir_total = 0;
#define USENMB
@@ -430,7 +430,7 @@ static void cmd_dir(void)
do_dskattr();
- DEBUG(3, ("Total bytes listed: %d\n", dir_total));
+ DEBUG(3, ("Total bytes listed: %llu\n", dir_total));
}
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index fd43d37abb..b655b2d325 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -85,7 +85,8 @@ static uint16 attribute = aDIR | aSYSTEM | aHIDDEN;
#endif
static char *tarbuf, *buffer_p;
-static int tp, ntarf, tbufsiz, ttarf;
+static int tp, ntarf, tbufsiz;
+static SMB_BIG_UINT ttarf;
/* Incremental mode */
BOOL tar_inc=False;
/* Reset archive bit */
@@ -1486,7 +1487,7 @@ int process_tar(void)
free(tarbuf);
DEBUG(0, ("tar: dumped %d tar files\n", ntarf));
- DEBUG(0, ("Total bytes written: %d\n", ttarf));
+ DEBUG(0, ("Total bytes written: %llu\n", ttarf));
break;
}