Fix bool/int type confusion

Peter Eisentraut <peter_e@gmx.net>

Commit: 0ec2e908babfbfde83a3925680f06b16408739ff
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-09-14T15:45:11Z
Releases: 11.0
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>

Files

PathChange+/−
src/timezone/localtime.c modified +1 −1