summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-13 03:44:49 +0000
committerwollman <wollman@FreeBSD.org>1994-09-13 03:44:49 +0000
commit448e2f9aba8308a4c2d47e3862e68811cec0f70c (patch)
treef2a8c2ee6b5a647e08ea82c8c71d849bec96611a /lib/libc
parentcbc72118badc8725af5d9a6bcbba5778658c7c8f (diff)
downloadFreeBSD-src-448e2f9aba8308a4c2d47e3862e68811cec0f70c.zip
FreeBSD-src-448e2f9aba8308a4c2d47e3862e68811cec0f70c.tar.gz
One more try, and if it doesn't work this time I'm giving up.
(Check in original localtime.c.)
Diffstat (limited to 'lib/libc')
-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 aafb751..5403147 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 */
}
OpenPOWER on IntegriCloud