(leapyear): Arg is long int, not int. Change imported from gnulib.

This commit is contained in:
Paul Eggert committed 2004-10-24 23:24:47 +00:00
1 parent 2168e06a9d
commit c707d3acbe
1 file changed
+1 -1
+1 -1
View File
@@ -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. */