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

Commit93fcf2d

Browse files
committed
fgetc() returns int, not char.
This has no practical effect, since this code doesn't actually need todistinguish EOF (-1) from \0377; but it silences a Coverity complaint.
1 parent8638c76 commit93fcf2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/activity/pgstat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ pgstat_read_statsfile(void)
14981498
*/
14991499
for (;;)
15001500
{
1501-
chart=fgetc(fpin);
1501+
intt=fgetc(fpin);
15021502

15031503
switch (t)
15041504
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp