diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-14 09:44:21 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-14 09:44:21 -0400 |
commit | 22989a8e34168f576e0f90b16fc3edabd28c40e6 (patch) | |
tree | 662babde319114a493b425db1726bc4d9705e396 /src/backend/port/win32/socket.c | |
parent | 92a30a7eb0cadb008e18053f199af7de3fc1abaa (diff) | |
download | postgresql-22989a8e34168f576e0f90b16fc3edabd28c40e6.tar.gz |
Fix prototype of pgwin32_bind().
I (tgl) had copied-and-pasted this from pgwin32_accept(), failing to
notice that the third parameter should be "int" not "int *".
David Rowley
Diffstat (limited to 'src/backend/port/win32/socket.c')
-rw-r--r-- | src/backend/port/win32/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/port/win32/socket.c b/src/backend/port/win32/socket.c index ea4fb557b6..56a13e5894 100644 --- a/src/backend/port/win32/socket.c +++ b/src/backend/port/win32/socket.c @@ -265,7 +265,7 @@ pgwin32_socket(int af, int type, int protocol) } int -pgwin32_bind(SOCKET s, struct sockaddr * addr, int *addrlen) +pgwin32_bind(SOCKET s, struct sockaddr * addr, int addrlen) { int res; |