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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 08c58b1e91..b99f947920 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -6602,7 +6602,7 @@ tmx_m_zone(union DateData *x)
return RSTRING_PTR(m_zone(x));
}
-static struct tmx_funcs tmx_funcs = {
+static const struct tmx_funcs tmx_funcs = {
(VALUE (*)(void *))m_real_year,
(int (*)(void *))m_yday,
(int (*)(void *))m_mon,