mirror of
https://github.com/postgres/postgres.git
synced 2026-04-12 12:36:49 -04:00
fgetc() returns int, not char.
This has no practical effect, since this code doesn't actually need to distinguish EOF (-1) from \0377; but it silences a Coverity complaint.
This commit is contained in:
parent
8638c76cc9
commit
93fcf2d209
1 changed files with 1 additions and 1 deletions
|
|
@ -1498,7 +1498,7 @@ pgstat_read_statsfile(void)
|
|||
*/
|
||||
for (;;)
|
||||
{
|
||||
char t = fgetc(fpin);
|
||||
int t = fgetc(fpin);
|
||||
|
||||
switch (t)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue