changeset 2994:b087b4fd6066

(Fcurrent_time_zone): Make `am' an int, not long.
author Richard M. Stallman <rms@gnu.org>
date Sun, 23 May 1993 22:41:44 +0000
parents 423d4e4acb41
children c34b1fbe7987
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}