pgsql: Fix bool/int type confusion

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Date: 2017-09-14T16:09:23Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Sync our copy of the timezone library with IANA tzcode master.

  2. Fix bool/int type confusion

Fix bool/int type confusion

Using ++ on a bool variable doesn't work well when stdbool.h is in use.
The original BSD code appears to use int here, so use that instead.

Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0ec2e908babfbfde83a3925680f06b16408739ff

Modified Files
--------------
src/timezone/localtime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)