mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-08 11:22:55 +00:00
overflow work
SCCS-file: localtime.c SCCS-SID: 7.96
This commit is contained in:
committed by
Paul Eggert
parent
93b1787a4c
commit
46fa7e9817
@ -1616,9 +1616,13 @@ const int do_norm_secs;
|
||||
if (dir != 0) {
|
||||
if (t == lo) {
|
||||
++t;
|
||||
if (t <= lo)
|
||||
return WRONG;
|
||||
++lo;
|
||||
} else if (t == hi) {
|
||||
--t;
|
||||
if (t >= hi)
|
||||
return WRONG;
|
||||
--hi;
|
||||
}
|
||||
if (lo > hi)
|
||||
|
||||
Reference in New Issue
Block a user