summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/postmaster.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2011-04-28 15:05:58 -0400
committerAndrew Dunstan <andrew@dunslane.net>2011-04-28 15:05:58 -0400
commitab0ba6e73ae9b3c9956126bdcd3c410238a27244 (patch)
tree6af09995b8f34900e6f45dfcf14d4d55e7f1a5dd /src/backend/postmaster/postmaster.c
parentc02d5b7c27d740830379244db4b9ef111bbf0fc8 (diff)
Add some casts to try to silence most of the remaining format warnings on MinGW-W64.
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r--src/backend/postmaster/postmaster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index c0cf0336a1e..1e2aa9f0925 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -3304,7 +3304,7 @@ BackendStartup(Port *port)
/* in parent, successful fork */
ereport(DEBUG2,
(errmsg_internal("forked new backend, pid=%d socket=%d",
- (int) pid, port->sock)));
+ (int) pid, (int) port->sock)));
/*
* Everything's been successful, it's safe to add this backend to our list
@@ -4809,7 +4809,7 @@ write_inheritable_socket(InheritableSocket *dest, SOCKET src, pid_t childpid)
{
ereport(LOG,
(errmsg("could not duplicate socket %d for use in backend: error code %d",
- src, WSAGetLastError())));
+ (int) src, WSAGetLastError())));
return false;
}
}