aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_combinebackup/write_manifest.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-03-29 10:30:08 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-03-29 10:43:57 +0100
commita0ed19e0a9efe93b3b83d6e3fe8f77656be253a2 (patch)
tree8c1040a46a47098d3fe5199530576a1a68acc20f /src/bin/pg_combinebackup/write_manifest.c
parenta0a4601765b896079eb82a9d5cfa1f41154fcfdb (diff)
downloadpostgresql-a0ed19e0a9efe93b3b83d6e3fe8f77656be253a2.tar.gz
postgresql-a0ed19e0a9efe93b3b83d6e3fe8f77656be253a2.zip
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/bin/pg_combinebackup/write_manifest.c')
-rw-r--r--src/bin/pg_combinebackup/write_manifest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_combinebackup/write_manifest.c b/src/bin/pg_combinebackup/write_manifest.c
index 44879b3f3e8..313f8929df5 100644
--- a/src/bin/pg_combinebackup/write_manifest.c
+++ b/src/bin/pg_combinebackup/write_manifest.c
@@ -104,8 +104,7 @@ add_file_to_manifest(manifest_writer *mwriter, const char *manifest_path,
appendStringInfoString(&mwriter->buf, "\", ");
}
- appendStringInfo(&mwriter->buf, "\"Size\": %llu, ",
- (unsigned long long) size);
+ appendStringInfo(&mwriter->buf, "\"Size\": %" PRIu64 ", ", size);
appendStringInfoString(&mwriter->buf, "\"Last-Modified\": \"");
enlargeStringInfo(&mwriter->buf, 128);