From 2b75a644db38fd72d721792d43b6d6db46ec9a2d Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Fri, 10 Jan 2020 15:03:15 +0100 Subject: (main): Use %zu for size_t printing. --- tune/tune-gcd-p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tune') diff --git a/tune/tune-gcd-p.c b/tune/tune-gcd-p.c index 89ce4c199..3b5a4a8a3 100644 --- a/tune/tune-gcd-p.c +++ b/tune/tune-gcd-p.c @@ -204,7 +204,7 @@ main(int argc, char **argv) if (best_time > lehmer_time) best_p = 0; - printf("%6d %6d %5.3g", n, best_p, (double) best_p / n); + printf("%6zu %6zu %5.3g", n, best_p, (double) best_p / n); if (best_p > 0) { double speedup = 100 * (lehmer_time - best_time) / lehmer_time; -- cgit v1.2.1