mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(Fencode_time): Add cast.
(Fset_time_zone_rule): Add cast.
This commit is contained in:
parent
cfc57cea0c
commit
4d4c1514ed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user