From 4d4c1514ed9d7ae91d76615fe0dbb2da574638ff Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 30 Oct 1995 19:47:29 +0000 Subject: [PATCH] (Fencode_time): Add cast. (Fset_time_zone_rule): Add cast. --- src/editfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index 5254a768569..1c3b2c3b393 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -737,7 +737,7 @@ If you want them to stand for years in this century, you must do that yourself." char **oldenv = environ, **newenv; if (STRINGP (zone)) - tzstring = XSTRING (zone)->data; + tzstring = (char *) XSTRING (zone)->data; else if (INTEGERP (zone)) { int abszone = abs (XINT (zone)); @@ -893,7 +893,7 @@ If TZ is nil, use implementation-defined default time zone information.") else { CHECK_STRING (tz, 0); - tzstring = XSTRING (tz)->data; + tzstring = (char *) XSTRING (tz)->data; } set_time_zone_rule (tzstring);