From: Andres Freund Date: Sun, 27 Feb 2022 00:06:24 +0000 (-0800) Subject: Fix warning on mingw due to pid_t width, introduced in fe0972ee5e6. X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=d33aeefd9b7c8c76f584432717dc944505565e52;p=users%2Frhaas%2Fpostgres.git Fix warning on mingw due to pid_t width, introduced in fe0972ee5e6. --- diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index f238a392ae..caa6b29756 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -571,7 +571,7 @@ restart: /* unlocked read of active_pid is ok for debugging purposes */ elog(DEBUG3, "temporary replication slot cleanup: %d in use, active_pid: %d", - i, s->active_pid); + i, (int) s->active_pid); SpinLockAcquire(&s->mutex); if (s->active_pid == MyProcPid)