8000
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 c3673c0 commit 0e9f4ceCopy full SHA for 0e9f4ce
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.7 1996/08/19 13:25:40 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.8 1996/08/19 13:38:42 scrappy Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -241,7 +241,7 @@ connectDB(PGconn *conn)
241
242
/* pacBuf = startup2PacketBuf(&startup);*/
243
startup2PacketBuf(&startup, &pacBuf);
244
- pacBuf.msgtype = htonl(msgtype);
+ pacBuf.msgtype = (MsgType) htonl(msgtype);
245
status = packetSend(port, &pacBuf, sizeof(PacketBuf), BLOCKING);
246
247
if (status == STATUS_ERROR)
0 commit comments