summaryrefslogtreecommitdiff
path: root/lib/dedupe-range.c
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-15 23:04:04 -0400
committerLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-15 23:04:04 -0400
commit4e10b004887054f361854428b75f66b32ed0e105 (patch)
tree70277da04f860dfb230df5f408c7d10e19756811 /lib/dedupe-range.c
parent31b771119b9c47942cf6a306aef4c97896b8ada8 (diff)
clean up the u64 hack
Diffstat (limited to 'lib/dedupe-range.c')
-rw-r--r--lib/dedupe-range.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/dedupe-range.c b/lib/dedupe-range.c
index 016f691..cdb5044 100644
--- a/lib/dedupe-range.c
+++ b/lib/dedupe-range.c
@@ -61,10 +61,7 @@ void dedupe_range(struct range src, struct range *dsts) {
if (range->info[i].bytes_deduped != bytes_deduped) {
error(0, errno, "dedupe: %"PRIu64" != %"PRIu64": %s",
bytes_deduped,
- /* On platforms where both "long" and "long long"
- * are 64 bits, linux __u64 might disagree with
- * glibc uint64_t and thus PRIu64. */
- (uint64_t)range->info[i].bytes_deduped,
+ range->info[i].bytes_deduped,
dsts[files_deduped+i].filename);
erred = true;
}