diff options
| author | Richard M. Stallman | 1995-10-30 19:47:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-30 19:47:29 +0000 |
| commit | 4d4c1514ed9d7ae91d76615fe0dbb2da574638ff (patch) | |
| tree | c9dae9daebdfae148dd9db8f5a6a769cfef603dc /src | |
| parent | cfc57cea0c285c99dcb5ac252d5107f8fb0329e4 (diff) | |
| download | emacs-4d4c1514ed9d7ae91d76615fe0dbb2da574638ff.tar.gz emacs-4d4c1514ed9d7ae91d76615fe0dbb2da574638ff.zip | |
(Fencode_time): Add cast.
(Fset_time_zone_rule): Add cast.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 |
1 files 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." | |||
| 737 | char **oldenv = environ, **newenv; | 737 | char **oldenv = environ, **newenv; |
| 738 | 738 | ||
| 739 | if (STRINGP (zone)) | 739 | if (STRINGP (zone)) |
| 740 | tzstring = XSTRING (zone)->data; | 740 | tzstring = (char *) XSTRING (zone)->data; |
| 741 | else if (INTEGERP (zone)) | 741 | else if (INTEGERP (zone)) |
| 742 | { | 742 | { |
| 743 | int abszone = abs (XINT (zone)); | 743 | int abszone = abs (XINT (zone)); |
| @@ -893,7 +893,7 @@ If TZ is nil, use implementation-defined default time zone information.") | |||
| 893 | else | 893 | else |
| 894 | { | 894 | { |
| 895 | CHECK_STRING (tz, 0); | 895 | CHECK_STRING (tz, 0); |
| 896 | tzstring = XSTRING (tz)->data; | 896 | tzstring = (char *) XSTRING (tz)->data; |
| 897 | } | 897 | } |
| 898 | 898 | ||
| 899 | set_time_zone_rule (tzstring); | 899 | set_time_zone_rule (tzstring); |