diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-10-24 23:24:47 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-10-24 23:24:47 +0000 |
commit | c707d3acbe3277ced7117df3f4ecbe87804b8d85 (patch) | |
tree | 1b885729e3141b80e05dce642885853fb2d39f91 | |
parent | 2168e06a9d21a04ca0fa32d3840ded5d8eea5439 (diff) | |
download | coreutils-c707d3acbe3277ced7117df3f4ecbe87804b8d85.tar.xz |
(leapyear): Arg is long int, not int. Change imported from gnulib.
-rw-r--r-- | lib/mktime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mktime.c b/lib/mktime.c index ce3de5839..a017a51c8 100644 --- a/lib/mktime.c +++ b/lib/mktime.c @@ -77,7 +77,7 @@ verify (base_year_is_a_multiple_of_100, TM_YEAR_BASE % 100 == 0); /* Return 1 if YEAR + TM_YEAR_BASE is a leap year. */ static inline int -leapyear (int year) +leapyear (long int year) { /* Don't add YEAR to TM_YEAR_BASE, as that might overflow. Also, work even if YEAR is negative. */ |