aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 */