2
0
mirror of https://git.postgresql.org/git/postgresql.git synced 2025-02-17 19:30:00 +08:00

Fix warning on mingw due to pid_t width, introduced in fe0972ee5e.

This commit is contained in:
Andres Freund 2022-02-26 16:06:24 -08:00
parent a89850a57e
commit d33aeefd9b

View File

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