summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorRobin Barker <Robin.Barker@npl.co.uk>2009-01-16 16:15:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-18 09:55:09 +0100
commita8cb02613db44c6c8a53ff84a0d959222f9c694f (patch)
tree92e3f4dc04435de59c3b878a7abf47463a7e6b34 /pp_sys.c
parentb1b1ee3cbfeeb4d81bc0f3c8c5873da55e7d8469 (diff)
downloadperl-a8cb02613db44c6c8a53ff84a0d959222f9c694f.tar.gz
consting goodness for time64
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 5b2edea043..225b55ef79 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4425,7 +4425,7 @@ PP(pp_gmtime)
Time64_T when;
struct TM tmbuf;
struct TM *err;
- char *opname = PL_op->op_type == OP_LOCALTIME ? "localtime" : "gmtime";
+ const char *opname = PL_op->op_type == OP_LOCALTIME ? "localtime" : "gmtime";
static const char * const dayname[] =
{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
static const char * const monname[] =