dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 3e574bf2cbc84b64d2617353de8189eccd69022a
parent e9c0d478cc17e6553c104b1db2b2e6c55c369938
Author: sin <sin@2f30.org>
Date:   Wed, 21 Mar 2018 18:00:55 +0000

Fix type

uint64_t is typedef-ed to unsigned long on my machine.

Diffstat:
Mdedup.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dedup.c b/dedup.c @@ -438,7 +438,7 @@ list(void) for (i = 0; i < sizeof(ent.md); i++) printf("%02x", ent.md[i]); if (verbose) - printf(" %llu", ent.nblks * BLKSIZ); + printf(" %llu", (unsigned long long)ent.nblks * BLKSIZ); putchar('\n'); lseek(ifd, ent.nblks * sizeof(ent.blks[0]), SEEK_CUR); }