We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3655e6 commit ce8790bCopy full SHA for ce8790b
src/interfaces/libpq/fe-connect.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.4.2.1 1996/08/19 13:23:19 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.4.2.2 1996/08/19 13:40:26 scrappy Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -239,7 +239,7 @@ connectDB(PGconn *conn)
239
240
/* pacBuf = startup2PacketBuf(&startup);*/
241
startup2PacketBuf(&startup, &pacBuf);
242
- pacBuf.msgtype = htonl(msgtype);
+ pacBuf.msgtype = (MsgType) htonl(msgtype);
243
status = packetSend(port, &pacBuf, sizeof(PacketBuf), BLOCKING);
244
245
if (status == STATUS_ERROR)
0 commit comments