Skip to content

Commit 0e9f4ce

Browse files
committed
Here's a minor fix that fixes a casting problem:
-Kurt
1 parent c3673c0 commit 0e9f4ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.7 1996/08/19 13:25:40 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.8 1996/08/19 13:38:42 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -241,7 +241,7 @@ connectDB(PGconn *conn)
241241

242242
/* pacBuf = startup2PacketBuf(&startup);*/
243243
startup2PacketBuf(&startup, &pacBuf);
244-
pacBuf.msgtype = htonl(msgtype);
244+
pacBuf.msgtype = (MsgType) htonl(msgtype);
245245
status = packetSend(port, &pacBuf, sizeof(PacketBuf), BLOCKING);
246246

247247
if (status == STATUS_ERROR)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy