diff src/editfns.c @ 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 6fe71a039fce
children dc9f7a107e28
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;
 	}