diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2024-01-15 23:28:41 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2024-01-16 00:18:06 +0000 |
commit | 8ed5d3b5bf97f5a459c5bbe7f9264903cb728d88 (patch) | |
tree | 0aafabcf3dfaab7685fa0fcbaa683dafe287807e /src/parsdate.c | |
parent | 3ee8300fec5d35be98863ab0101433d348c936cc (diff) | |
download | lynx-snapshots-8ed5d3b5bf97f5a459c5bbe7f9264903cb728d88.tar.gz |
snapshot of project "lynx", label v2-9-0
Diffstat (limited to 'src/parsdate.c')
-rw-r--r-- | src/parsdate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parsdate.c b/src/parsdate.c index 396f996c..07bbc9dc 100644 --- a/src/parsdate.c +++ b/src/parsdate.c @@ -5,7 +5,7 @@ #define YYBYACC 1 #define YYMAJOR 2 #define YYMINOR 0 -#define YYPATCH 20220128 +#define YYPATCH 20240109 #define YYEMPTY (-1) #define yyclearin (yychar = YYEMPTY) @@ -25,7 +25,7 @@ #include <LYLeaks.h> /* - * $LynxId: parsdate.c,v 1.30 2022/03/12 12:54:09 tom Exp $ + * $LynxId: parsdate.y,v 1.32 2024/01/15 11:09:08 tom Exp $ * * This module is adapted and extended from tin, to use for LYmktime(). * @@ -2030,7 +2030,7 @@ case 19: int i; /* Unix and GMT and numeric timezones -- a little confusing. */ - if ((int)yystack.l_mark[0].Number < 0) { + if ((long)yystack.l_mark[0].Number < 0) { /* Don't work with negative modulus. */ yystack.l_mark[0].Number = -(int)yystack.l_mark[0].Number; if (yystack.l_mark[0].Number > 9999 || (i = (int) (yystack.l_mark[0].Number % 100)) >= 60) { |