Skip to content

Commit 847561c

Browse files
committed
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
1 parent 812623b commit 847561c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/timezone/zic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2406,7 +2406,7 @@ writezone(const char *const name, const char *const string, char version,
24062406
if (pass == 1 && !want_bloat())
24072407
{
24082408
utcnt = stdcnt = thisleapcnt = 0;
2409-
thistimecnt = -locut - hicut;
2409+
thistimecnt = -(locut + hicut);
24102410
thistypecnt = thischarcnt = 1;
24112411
thistimelim = thistimei;
24122412
}

0 commit comments

Comments
 (0)