summaryrefslogtreecommitdiff
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/date_core.c')
-rw-r--r--ext/date/date_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 7a4a418a1f..835120631a 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -235,7 +235,7 @@ f_negative_p(VALUE x)
struct SimpleDateData
{
unsigned flags;
- const VALUE nth; /* not always canonicalized */
+ VALUE nth; /* not always canonicalized */
int jd; /* as utc */
/* df is zero */
/* sf is zero */
@@ -258,10 +258,10 @@ struct SimpleDateData
struct ComplexDateData
{
unsigned flags;
- const VALUE nth; /* not always canonicalized */
+ VALUE nth; /* not always canonicalized */
int jd; /* as utc */
int df; /* as utc, in secs */
- const VALUE sf; /* in nano secs */
+ VALUE sf; /* in nano secs */
int of; /* in secs */
date_sg_t sg; /* 2298874..2426355 or -/+oo -- at most 22 bits */
/* decoded as local */