summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@samba.org>1999-03-25 20:21:01 +0000
committerAlexandre Oliva <oliva@samba.org>1999-03-25 20:21:01 +0000
commit1db113b0a2a81a0f37c55aa49517dc64f0578474 (patch)
tree3f527cd561cf01e2b851eb62732afa9f41492f2f /source3/client/client.c
parentfa01e8764c9da8d0e37f07dbe1a3b116a0640acc (diff)
downloadsamba-1db113b0a2a81a0f37c55aa49517dc64f0578474.tar.gz
samba-1db113b0a2a81a0f37c55aa49517dc64f0578474.tar.bz2
samba-1db113b0a2a81a0f37c55aa49517dc64f0578474.zip
* client/client.c (dir_total): use SMB_BIG_UINT
* client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> (This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 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));
}