Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e9f4ce

Browse files
committed
Here's a minor fix that fixes a casting problem:
-Kurt
1 parentc3673c0 commit0e9f4ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* 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 $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -241,7 +241,7 @@ connectDB(PGconn *conn)
241241

242242
/* pacBuf = startup2PacketBuf(&startup);*/
243243
startup2PacketBuf(&startup,&pacBuf);
244-
pacBuf.msgtype=htonl(msgtype);
244+
pacBuf.msgtype=(MsgType)htonl(msgtype);
245245
status=packetSend(port,&pacBuf,sizeof(PacketBuf),BLOCKING);
246246

247247
if (status==STATUS_ERROR)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp