aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-05-28 02:06:50 +0000
committerRichard M. Stallman <[email protected]>1994-05-28 02:06:50 +0000
commit68a49b1802d9e6d3667b149876114c351b138f3a (patch)
tree86a9148633bad23d9dc3b373c8e22c0f30b531fb /src
parentc8dfbe33676c1a5ac054c931d7a2c7fe63261a6a (diff)
(difftm): Don't store a long value into an int variable.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c2
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 */