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
This commit is contained in:
Tom Lane 2019-07-19 14:48:57 -04:00
parent 1300fa66b2
commit 4214668635
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}