projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1300fa6
)
Silence compiler warning, hopefully.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 19 Jul 2019 18:48:57 +0000
(14:48 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 19 Jul 2019 18:48:57 +0000
(14:48 -0400)
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
src/timezone/zic.c
patch
|
blob
|
blame
|
history
diff --git
a/src/timezone/zic.c
b/src/timezone/zic.c
index 4483c3bb130a279c3f9ad3fa7d69da415ffec48b..95ab8547126714cbf769f8ee4f3b511fc338d741 100644
(file)
--- 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;
}