# HG changeset patch # User Richard M. Stallman # Date 738196904 0 # Node ID b087b4fd6066c04cc570264288237d0acbbb17f0 # Parent 423d4e4acb41674ffd68c73acbe1aeee3d88a593 (Fcurrent_time_zone): Make `am' an int, not long. diff -r 423d4e4acb41 -r b087b4fd6066 src/editfns.c --- a/src/editfns.c Sun May 23 22:31:53 1993 +0000 +++ b/src/editfns.c Sun May 23 22:41:44 1993 +0000 @@ -660,7 +660,7 @@ if (!s) { /* No local time zone name is available; use "+-NNNN" instead. */ - long am = (offset < 0 ? -offset : offset) / 60; + int am = (offset < 0 ? -offset : offset) / 60; sprintf (buf, "%c%02d%02d", (offset < 0 ? '-' : '+'), am/60, am%60); s = buf; }