mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 22:59:54 -04:00
Here's a minor fix that fixes a casting problem:
-Kurt
This commit is contained in:
parent
c3673c0345
commit
0e9f4ceae0
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*
|
||||
* 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)
|
|||
|
||||
/* pacBuf = startup2PacketBuf(&startup);*/
|
||||
startup2PacketBuf(&startup, &pacBuf);
|
||||
pacBuf.msgtype = htonl(msgtype);
|
||||
pacBuf.msgtype = (MsgType) htonl(msgtype);
|
||||
status = packetSend(port, &pacBuf, sizeof(PacketBuf), BLOCKING);
|
||||
|
||||
if (status == STATUS_ERROR)
|
||||
|
|
|
|||
Loading…
Reference in a new issue