Commit 0ec2e908 authored by Peter Eisentraut's avatar Peter Eisentraut

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: default avatarThomas Munro <thomas.munro@enterprisedb.com>
parent 42651bdd
...@@ -1379,7 +1379,7 @@ timesub(const pg_time_t *timep, int32 offset, ...@@ -1379,7 +1379,7 @@ timesub(const pg_time_t *timep, int32 offset,
int y; int y;
const int *ip; const int *ip;
int64 corr; int64 corr;
bool hit; int hit;
int i; int i;
corr = 0; corr = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment