From 1db113b0a2a81a0f37c55aa49517dc64f0578474 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 25 Mar 1999 20:21:01 +0000 Subject: * 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 (This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce) --- source3/client/clitar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/client/clitar.c') 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; } -- cgit