]> granicus.if.org Git - postgresql/commit
Fix bool/int type confusion
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 16 Aug 2017 04:22:32 +0000 (00:22 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 14 Sep 2017 15:45:11 +0000 (11:45 -0400)
commit0ec2e908babfbfde83a3925680f06b16408739ff
treefcbab19984609a07e88c9583f875ac6e6533bf03
parent42651bdd68a123544d5bfd0773a170aa3b443f1b
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>
src/timezone/localtime.c