diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-22 11:51:57 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-22 11:53:44 +0200 |
commit | 8e7311da64b262a8f6a2fbf5119eba8c3e37dfd6 (patch) | |
tree | 9e93eaf264b777d98dc871b681bd929509ba4654 /difftool/super.c | |
parent | 37ae9c186d56eaf85af700cc6beb2130ff267d01 (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.c | 3 |
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); } } |