summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime/localtime.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-09-13 03:50:58 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-09-13 03:50:58 +0000
commitf47e280f0ac14f5d9f18b94dba40f8a40aeab268 (patch)
treefdb81c62f9b44b6579a2bddad996822fa4de81f9 /lib/libc/stdtime/localtime.c
parentc84ccaa06ba14e4742b7860ba5630155d49101ec (diff)
Notes
Diffstat (limited to 'lib/libc/stdtime/localtime.c')
-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 54031479f1dc..aafb75194718 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 = &sp->chars[ttisp->tt_abbrind];
+ tmp->TM_ZONE = (char *)&sp->chars[ttisp->tt_abbrind];
#endif /* defined TM_ZONE */
}