diff options
Diffstat (limited to 'hwclock/hwclock.c')
-rw-r--r-- | hwclock/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c index 154ba0b83..20c548eb0 100644 --- a/hwclock/hwclock.c +++ b/hwclock/hwclock.c @@ -369,7 +369,7 @@ mktime_tz(struct tm tm, const bool universal, local time zone input, we may have to fake it out by temporarily changing the local time zone to UTC. */ - zone = (char *) getenv("TZ"); /* remember original time zone */ + zone = getenv("TZ"); /* remember original time zone */ if (universal) { /* Set timezone to UTC */ setenv("TZ", "", TRUE); |