Fix type - dedup - deduplicating backup program
(HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3e574bf2cbc84b64d2617353de8189eccd69022a
(DIR) parent e9c0d478cc17e6553c104b1db2b2e6c55c369938
(HTM) 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:
M dedup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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);
}