diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-19 13:38:42 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-19 13:38:42 +0000 |
commit | 0e9f4ceae0772a377a2e0b6b50bd5897c2a0f7f4 (patch) | |
tree | c2250a91c8c38c310354fdde817849d03e4688a1 /src | |
parent | c3673c0345a242cd05164319415cc8dc672cce80 (diff) | |
download | postgresql-0e9f4ceae0772a377a2e0b6b50bd5897c2a0f7f4.tar.gz postgresql-0e9f4ceae0772a377a2e0b6b50bd5897c2a0f7f4.zip |
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 e8b47e9fada..0fa63d8fd8d 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.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) |