summaryrefslogtreecommitdiff
path: root/zone1970.tab
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-11-04 19:57:00 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-11-04 19:57:26 -0700
commitf4808ee8fa61b0df82337e8f0fa02ca3db598cb8 (patch)
treed97673bddeeab38d739539bcb976b5e236e2673d /zone1970.tab
parent4a69a067a5ad0a49ac948803e50da4c4fcdec434 (diff)
downloadtz-f4808ee8fa61b0df82337e8f0fa02ca3db598cb8.tar.gz
Fix unlikely conversion bug in zic
* zic.c (puttzcode): Arg is zic_t, not int_fast32_t. This fixes a portability bug on platforms where int_fast32_t is a 32-bit ones’ complement or signed-magnitude integer, and where the argument is -2**31 before conversion to int_fast32_t. Although I don’t know of any such platforms, the C standard allows them.
Diffstat (limited to 'zone1970.tab')
0 files changed, 0 insertions, 0 deletions