From: Richard M. Stallman Date: Sat, 28 May 1994 02:06:50 +0000 (+0000) Subject: (difftm): Don't store a long value into an int variable. X-Git-Tag: emacs-19.34~8143 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68a49b1802d9e6d3667b149876114c351b138f3a;p=emacs.git (difftm): Don't store a long value into an int variable. --- diff --git a/src/editfns.c b/src/editfns.c index 28036650c92..8b0158c322b 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -629,7 +629,7 @@ difftm (a, b) int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); int by = b->tm_year + (TM_YEAR_ORIGIN - 1); /* Some compilers can't handle this as a single return statement. */ - int days = ( + long days = ( /* difference in day of year */ a->tm_yday - b->tm_yday /* + intervening leap days */