From c707d3acbe3277ced7117df3f4ecbe87804b8d85 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 24 Oct 2004 23:24:47 +0000 Subject: (leapyear): Arg is long int, not int. Change imported from gnulib. --- lib/mktime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.2.3-70-g09d2