aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_basebackup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-03-23 20:18:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-03-23 20:18:04 -0400
commited61127be483d8939e13a151773549f1517d6e67 (patch)
tree5ca7ea630b8b86b71bdecc4c706d8ced8ef0e76e /src/bin/pg_basebackup/pg_basebackup.c
parent81a646febe87964725647a36d839f6b4b405f3ae (diff)
downloadpostgresql-ed61127be483d8939e13a151773549f1517d6e67.tar.gz
postgresql-ed61127be483d8939e13a151773549f1517d6e67.zip
Cast some printf arguments to avoid possibly-nonportable behavior.
Per compiler warnings on buildfarm member black_firefly.
Diffstat (limited to 'src/bin/pg_basebackup/pg_basebackup.c')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index bf88726f326..4cb430b7e89 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -1103,7 +1103,7 @@ BaseBackup(void)
if (r != bgchild)
{
fprintf(stderr, _("%s: child %i died, expected %i\n"),
- progname, r, bgchild);
+ progname, r, (int) bgchild);
disconnect_and_exit(1);
}
if (!WIFEXITED(status))