From: Richard M. Stallman Date: Mon, 30 Oct 1995 19:47:29 +0000 (+0000) Subject: (Fencode_time): Add cast. X-Git-Tag: emacs-19.34~2513 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d4c1514ed9d7ae91d76615fe0dbb2da574638ff;p=emacs.git (Fencode_time): Add cast. (Fset_time_zone_rule): Add cast. --- 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);