diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-13 03:50:58 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-13 03:50:58 +0000 |
commit | b80021e668d8d41657df74b210c9af6c4a0a6e7e (patch) | |
tree | fdb81c62f9b44b6579a2bddad996822fa4de81f9 /lib/libc/stdtime/localtime.c | |
parent | 91bd59b78ccdebb3e1fc3fc31f3b81232ab04436 (diff) | |
download | FreeBSD-src-b80021e668d8d41657df74b210c9af6c4a0a6e7e.zip FreeBSD-src-b80021e668d8d41657df74b210c9af6c4a0a6e7e.tar.gz |
Port to FreeBSD. Not ready for inclusion in libc just yet, but here
so we can compile zic.
Diffstat (limited to 'lib/libc/stdtime/localtime.c')
-rw-r--r-- | lib/libc/stdtime/localtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c index 5403147..aafb751 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 */ } |