From 00fc94d02f2e98068a8b9f64f3fad3ca553c00a8 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 23 May 1993 22:41:44 +0000 Subject: [PATCH] (Fcurrent_time_zone): Make `am' an int, not long. --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 30d165ece6..69a045b834 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -660,7 +660,7 @@ the data it can't find.") 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; } -- 2.20.1