diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2020-01-10 15:03:15 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2020-01-10 15:03:15 +0100 |
commit | 2b75a644db38fd72d721792d43b6d6db46ec9a2d (patch) | |
tree | b9a95c3f1046bb05f50d116e28adec0ed6ba9869 /tune | |
parent | 3e13cbc4d2a87e3a99b148df21a7ba0a5da5de50 (diff) | |
download | gmp-2b75a644db38fd72d721792d43b6d6db46ec9a2d.tar.gz |
(main): Use %zu for size_t printing.
Diffstat (limited to 'tune')
-rw-r--r-- | tune/tune-gcd-p.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |