mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +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 (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
char t = fgetc(fpin);
|
int t = fgetc(fpin);
|
||||||
|
|
||||||
switch (t)
|
switch (t)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user