summaryrefslogtreecommitdiff
path: root/difftool/super.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-22 11:51:57 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-22 11:53:44 +0200
commit8e7311da64b262a8f6a2fbf5119eba8c3e37dfd6 (patch)
tree9e93eaf264b777d98dc871b681bd929509ba4654 /difftool/super.c
parent37ae9c186d56eaf85af700cc6beb2130ff267d01 (diff)
Fix uint64_t printf for compatility with 32 bit systemsv0.6
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/super.c')
-rw-r--r--difftool/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/difftool/super.c b/difftool/super.c
index 0b75d9b..85c4a1f 100644
--- a/difftool/super.c
+++ b/difftool/super.c
@@ -36,7 +36,8 @@ static void print_value_difference(const char *name, uint64_t a, uint64_t b)
c = '-';
diff = a - b;
}
- fprintf(stdout, "%s: %c%lu\n", name, c, diff);
+ fprintf(stdout, "%s: %c%llu\n", name, c,
+ (unsigned long long)diff);
}
}