aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-09-13 03:44:49 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-09-13 03:44:49 +0000
commit23c76c74b714ed9ae64b1010ac51339975384a03 (patch)
treef2a8c2ee6b5a647e08ea82c8c71d849bec96611a
parent48d96b1761db1f46398134b489f070ae8a6851a2 (diff)
downloadsrc-23c76c74b714ed9ae64b1010ac51339975384a03.tar.gz
src-23c76c74b714ed9ae64b1010ac51339975384a03.zip
One more try, and if it doesn't work this time I'm giving up.
(Check in original localtime.c.)
Notes
Notes: svn path=/vendor/tzcode/dist/; revision=2710
-rw-r--r--lib/libc/stdtime/localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c
index aafb75194718..54031479f1dc 100644
--- a/lib/libc/stdtime/localtime.c
+++ b/lib/libc/stdtime/localtime.c
@@ -940,7 +940,7 @@ struct tm * const tmp;
tmp->tm_isdst = ttisp->tt_isdst;
tzname[tmp->tm_isdst] = (char *) &sp->chars[ttisp->tt_abbrind];
#ifdef TM_ZONE
- tmp->TM_ZONE = (char *)&sp->chars[ttisp->tt_abbrind];
+ tmp->TM_ZONE = &sp->chars[ttisp->tt_abbrind];
#endif /* defined TM_ZONE */
}