mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03: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:
@@ -1498,7 +1498,7 @@ pgstat_read_statsfile(void)
|
||||
*/
|
||||
for (;;)
|
||||
{
|
||||
char t = fgetc(fpin);
|
||||
int t = fgetc(fpin);
|
||||
|
||||
switch (t)
|
||||
{
|
||||
|
Reference in New Issue
Block a user