1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00

Cast some printf arguments to avoid possibly-nonportable behavior.

Per compiler warnings on buildfarm member black_firefly.
This commit is contained in:
Tom Lane
2012-03-23 20:18:04 -04:00
parent 81a646febe
commit ed61127be4
2 changed files with 2 additions and 2 deletions

View File

@@ -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))