diff options
author | Tom Lane | 2019-07-19 18:48:57 +0000 |
---|---|---|
committer | Tom Lane | 2019-07-19 18:48:57 +0000 |
commit | 421466863548de58199c7c6ececaae6b5f621b2f (patch) | |
tree | 37b64486657fa1549eb9e5e1c98ebdb060571531 | |
parent | 1300fa66b2f3d0dcd2eed7a5eff9e3fc22807f7c (diff) |
Silence compiler warning, hopefully.
Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream
IANA code, in hopes of silencing warnings from MSVC about negating
a bool value.
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/timezone/zic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c index 4483c3bb130..95ab8547126 100644 --- a/src/timezone/zic.c +++ b/src/timezone/zic.c @@ -2398,7 +2398,7 @@ writezone(const char *const name, const char *const string, char version, if (pass == 1 && !want_bloat()) { utcnt = stdcnt = thisleapcnt = 0; - thistimecnt = -locut - hicut; + thistimecnt = -(locut + hicut); thistypecnt = thischarcnt = 1; thistimelim = thistimei; } |