Commit 68a49b18 authored by Richard M. Stallman's avatar Richard M. Stallman

(difftm): Don't store a long value into an int variable.

parent c8dfbe33
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment