summaryrefslogtreecommitdiff
path: root/time64.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2010-08-19 14:47:41 -0500
committerSteve Peters <steve@fisharerojo.org>2010-08-19 14:47:41 -0500
commit1cefca6bb1a10d1e546d9a399299813645f0aac0 (patch)
tree1c55e498da8932a845b7b0e6949dcb70ab8eb1f5 /time64.c
parentd16d4b10300b35e2d4d858a3e23cff975bc713fe (diff)
downloadperl-1cefca6bb1a10d1e546d9a399299813645f0aac0.tar.gz
Silence a warning in time64.c. Need to downgrade a const char *
to a char *.
Diffstat (limited to 'time64.c')
-rw-r--r--time64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time64.c b/time64.c
index 1d43f39717..e1ceddfc30 100644
--- a/time64.c
+++ b/time64.c
@@ -368,7 +368,7 @@ static struct TM *S_gmtime64_r (const Time64_T *in_time, struct TM *p)
p->tm_isdst = 0;
#ifdef HAS_TM_TM_ZONE
- p->tm_zone = "UTC";
+ p->tm_zone = (char *)"UTC";
#endif
v_tm_sec = (int)fmod(time, 60.0);