changeset 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 d88d94461e5d
children 8a2bc1679b10
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 */