mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Fix incorrect format specifier for int64
Follow-up to ee1b30f12
, per buildfarm member mamba.
Discussion: https://postgr.es/m/CANWCAZYwyRMU%2BOTVOjK%3Dno1hm-W3ZQ5vrSFM1MFAaLtLydvwzA%40mail.gmail.com
This commit is contained in:
@@ -2737,7 +2737,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 = %ld\n", tree->ctl->num_keys);
|
||||
fprintf(stderr, "num_keys = %lld\n", (long long) tree->ctl->num_keys);
|
||||
|
||||
#ifdef RT_SHMEM
|
||||
fprintf(stderr, "handle = " DSA_POINTER_FORMAT "\n", tree->ctl->handle);
|
||||
@@ -2749,10 +2749,10 @@ RT_STATS(RT_RADIX_TREE * tree)
|
||||
{
|
||||
RT_SIZE_CLASS_ELEM size_class = RT_SIZE_CLASS_INFO[i];
|
||||
|
||||
fprintf(stderr, ", n%d = %ld", size_class.fanout, tree->ctl->num_nodes[i]);
|
||||
fprintf(stderr, ", n%d = %lld", size_class.fanout, (long long) tree->ctl->num_nodes[i]);
|
||||
}
|
||||
|
||||
fprintf(stderr, ", leaves = %ld", tree->ctl->num_leaves);
|
||||
fprintf(stderr, ", leaves = %lld", (long long) tree->ctl->num_leaves);
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user