diff options
author | Richard M. Stallman <[email protected]> | 1994-05-28 02:06:50 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-05-28 02:06:50 +0000 |
commit | 68a49b1802d9e6d3667b149876114c351b138f3a (patch) | |
tree | 86a9148633bad23d9dc3b373c8e22c0f30b531fb | |
parent | c8dfbe33676c1a5ac054c931d7a2c7fe63261a6a (diff) |
(difftm): Don't store a long value into an int variable.
-rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index 28036650c9..8b0158c322 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 */ |