Mercurial > emacs
diff src/editfns.c @ 7710:36420d9e4b41
(difftm): Don't store a long value into an int variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 May 1994 02:06:50 +0000 |
parents | 987ab382275c |
children | 0b6f46029ea2 |
line wrap: on
line diff
--- a/src/editfns.c Sat May 28 01:59:24 1994 +0000 +++ b/src/editfns.c Sat May 28 02:06:50 1994 +0000 @@ -629,7 +629,7 @@ 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 */