diff options
author | Peter Eisentraut | 2025-03-29 09:30:08 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-03-29 09:43:57 +0000 |
commit | a0ed19e0a9efe93b3b83d6e3fe8f77656be253a2 (patch) | |
tree | 8c1040a46a47098d3fe5199530576a1a68acc20f /src/include | |
parent | a0a4601765b896079eb82a9d5cfa1f41154fcfdb (diff) |
Use PRI?64 instead of "ll?" in format strings (continued).
Continuation of work started in commit 15a79c73, after initial trial.
Author: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/b936d2fb-590d-49c3-a615-92c3a88c6c19%40eisentraut.org
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/lib/radixtree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/lib/radixtree.h b/src/include/lib/radixtree.h index f0abb0df389..a75b77270c4 100644 --- a/src/include/lib/radixtree.h +++ b/src/include/lib/radixtree.h @@ -2754,7 +2754,7 @@ RT_SCOPE void RT_STATS(RT_RADIX_TREE * tree) { fprintf(stderr, "max_val = " UINT64_FORMAT "\n", tree->ctl->max_val); - fprintf(stderr, "num_keys = %lld\n", (long long) tree->ctl->num_keys); + fprintf(stderr, "num_keys = %" PRId64 "\n", tree->ctl->num_keys); #ifdef RT_SHMEM fprintf(stderr, "handle = " DSA_POINTER_FORMAT "\n", tree->ctl->handle); @@ -2766,10 +2766,10 @@ RT_STATS(RT_RADIX_TREE * tree) { RT_SIZE_CLASS_ELEM size_class = RT_SIZE_CLASS_INFO[i]; - fprintf(stderr, ", n%d = %lld", size_class.fanout, (long long) tree->ctl->num_nodes[i]); + fprintf(stderr, ", n%d = %" PRId64, size_class.fanout, tree->ctl->num_nodes[i]); } - fprintf(stderr, ", leaves = %lld", (long long) tree->ctl->num_leaves); + fprintf(stderr, ", leaves = %" PRId64, tree->ctl->num_leaves); fprintf(stderr, "\n"); } |