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

Commit1e91782

Browse files
committed
Fix compilation warning. (Cygwin has char* as second argument of
recvfrom(), not void*.)
1 parent51be3ca commit1e91782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/pgstat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*Copyright (c) 2001, PostgreSQL Global Development Group
1818
*
19-
*$Header: /cvsroot/pgsql/src/backend/postmaster/pgstat.c,v 1.27 2002/09/04 20:31:24 momjian Exp $
19+
*$Header: /cvsroot/pgsql/src/backend/postmaster/pgstat.c,v 1.28 2002/09/05 18:26:18 petere Exp $
2020
* ----------
2121
*/
2222
#include"postgres.h"
@@ -1575,7 +1575,7 @@ pgstat_recvbuffer(void)
15751575
{
15761576
fromlen=sizeof(fromaddr);
15771577
len=recvfrom(pgStatSock,
1578-
&input_buffer,sizeof(PgStat_Msg),0,
1578+
(char*)&input_buffer,sizeof(PgStat_Msg),0,
15791579
(structsockaddr*)&fromaddr,&fromlen);
15801580
if (len<0)
15811581
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp