pgsql: fgetc() returns int, not char.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: fgetc() returns int, not char.
Date: 2022-04-11 17:15:52
Message-ID: E1ndxdo-0003G3-GX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/93fcf2d2095674834e1ddbc6803ec043e3216afa

Modified Files
--------------
src/backend/utils/activity/pgstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-04-11 17:22:40 pgsql: Explicitly ignore guaranteed-true result from pgstat_lock_entry(
Previous Message Jeff Davis 2022-04-11 15:53:42 pgsql: Doc build fix: remove tab from filelist.sgml.