|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.7 1996/08/19 13:25:40 scrappy Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.8 1996/08/19 13:38:42 scrappy Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -241,7 +241,7 @@ connectDB(PGconn *conn)
|
241 | 241 |
|
242 | 242 | /* pacBuf = startup2PacketBuf(&startup);*/
|
243 | 243 | startup2PacketBuf(&startup,&pacBuf);
|
244 |
| -pacBuf.msgtype=htonl(msgtype); |
| 244 | +pacBuf.msgtype=(MsgType)htonl(msgtype); |
245 | 245 | status=packetSend(port,&pacBuf,sizeof(PacketBuf),BLOCKING);
|
246 | 246 |
|
247 | 247 | if (status==STATUS_ERROR)
|
|