Mercurial > emacs
diff src/editfns.c @ 13347:186d80572f4f
(Fencode_time): Add cast.
(Fset_time_zone_rule): Add cast.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 30 Oct 1995 19:47:29 +0000 |
parents | 10a489bbf5c3 |
children | 9a1e7191803f |
line wrap: on
line diff
--- a/src/editfns.c Mon Oct 30 19:41:44 1995 +0000 +++ b/src/editfns.c Mon Oct 30 19:47:29 1995 +0000 @@ -737,7 +737,7 @@ 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 @@ else { CHECK_STRING (tz, 0); - tzstring = XSTRING (tz)->data; + tzstring = (char *) XSTRING (tz)->data; } set_time_zone_rule (tzstring);