diff options
Diffstat (limited to 'src/timezone/localtime.c')
-rw-r--r-- | src/timezone/localtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timezone/localtime.c b/src/timezone/localtime.c index 96e62aff3b4..9fe43135fe3 100644 --- a/src/timezone/localtime.c +++ b/src/timezone/localtime.c @@ -1364,7 +1364,7 @@ localsub(struct state const *sp, pg_time_t const *timep, if (result) { result->tm_isdst = ttisp->tt_isdst; - result->tm_zone = (char *) &sp->chars[ttisp->tt_abbrind]; + result->tm_zone = unconstify(char *, &sp->chars[ttisp->tt_abbrind]); } return result; } |