diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getdate.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index 4b24cdc92..a4c840a41 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -1014,7 +1014,7 @@ get_date (const char *p, const time_t *now) if (! gmt) return -1; delta = pc.time_zone * 60 + difftm (gmt, &tm); - if ((Start - delta < Start) != (delta > 0)) + if ((Start < Start - delta) != (delta < 0)) return -1; /* time_t overflow */ Start -= delta; } |