changeset 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 620c6dc0329c
children 1569ab66932d
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);