diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-18 22:19:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-18 22:19:12 +0000 |
commit | b44c1e14dbff3eddddcf8322a060c3b3d5851ae6 (patch) | |
tree | 399b2ce1a585d033b8a12446da20addc72273264 /time | |
parent | 18d41844f10045ca6e31b20dae2800befc0783b3 (diff) |
(__offtime): Change type of `yg' to long int.
Diffstat (limited to 'time')
-rw-r--r-- | time/offtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/offtime.c b/time/offtime.c index 1469029bc0..f13c8a38ae 100644 --- a/time/offtime.c +++ b/time/offtime.c @@ -64,7 +64,7 @@ __offtime (t, offset, tp) while (days < 0 || days >= (__isleap (y) ? 366 : 365)) { /* Guess a corrected year, assuming 365 days per year. */ - int yg = y + days / 365 - (days % 365 < 0); + long int yg = y + days / 365 - (days % 365 < 0); /* Adjust DAYS and Y to match the guessed year. */ days -= ((yg - y) * 365 |