From: Marc G. Fournier Date: Mon, 19 Aug 1996 13:40:26 +0000 (+0000) Subject: Here's a minor fix that fixes a casting problem: X-Git-Tag: PG95-1_08~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce8790bc107b218885638f1649fdcc99261ed72f;p=thirdparty%2Fpostgresql.git Here's a minor fix that fixes a casting problem: -Kurt --- 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)