Commit 0e9f4cea authored by Marc G. Fournier's avatar Marc G. Fournier

Here's a minor fix that fixes a casting problem:

-Kurt
parent c3673c03
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $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 $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -241,7 +241,7 @@ connectDB(PGconn *conn) ...@@ -241,7 +241,7 @@ connectDB(PGconn *conn)
/* pacBuf = startup2PacketBuf(&startup);*/ /* pacBuf = startup2PacketBuf(&startup);*/
startup2PacketBuf(&startup, &pacBuf); startup2PacketBuf(&startup, &pacBuf);
pacBuf.msgtype = htonl(msgtype); pacBuf.msgtype = (MsgType) htonl(msgtype);
status = packetSend(port, &pacBuf, sizeof(PacketBuf), BLOCKING); status = packetSend(port, &pacBuf, sizeof(PacketBuf), BLOCKING);
if (status == STATUS_ERROR) if (status == STATUS_ERROR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment