diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-19 13:40:26 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-19 13:40:26 +0000 |
commit | ce8790bc107b218885638f1649fdcc99261ed72f (patch) | |
tree | 83a4507fd2cae3a185736503ce599101b3b298a0 /src | |
parent | d3655e69d6dbf3b4b2bc1d06a6a140d869475d8a (diff) |
Here's a minor fix that fixes a casting problem:
-Kurt
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 5418b26b4e5..d6455d94008 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $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 $ * *------------------------------------------------------------------------- */ @@ -239,7 +239,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) |