diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-07-19 14:48:57 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-07-19 14:49:10 -0400 |
commit | ee9417a04fba50b72289c746caf4cbd3fa818bb9 (patch) | |
tree | 3fe9405ebf35acdd8977480dd2dc874f155a530e | |
parent | 80aa66392ec8264cad6b2ad1bb442238c8771a6d (diff) | |
download | postgresql-ee9417a04fba50b72289c746caf4cbd3fa818bb9.tar.gz postgresql-ee9417a04fba50b72289c746caf4cbd3fa818bb9.zip |
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/20190719035347.GJ1859@paquier.xyz
-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 f440065bd91..f7bbe41c524 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; } |