summaryrefslogtreecommitdiff
path: root/lib/libc
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
commitc84ccaa06ba14e4742b7860ba5630155d49101ec (patch)
tree6f5770377d883a9e9c719138aa2b8a6c516808d1 /lib/libc
parent476e02c78f5b8532fb44ef961c290031e00c3014 (diff)
parent23c76c74b714ed9ae64b1010ac51339975384a03 (diff)
Notes
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 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 */
}