summaryrefslogtreecommitdiffstats
path: root/src/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtin.c')
-rw-r--r--src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtin.c b/src/builtin.c
index 05bd8592..5f24cfb8 100644
--- a/src/builtin.c
+++ b/src/builtin.c
@@ -1463,7 +1463,7 @@ static jv f_strptime(jq_state *jq, jv a, jv b) {
static int jv2tm(jv a, struct tm *tm) {
memset(tm, 0, sizeof(*tm));
- static size_t offsets[] = {
+ static const size_t offsets[] = {
offsetof(struct tm, tm_year),
offsetof(struct tm, tm_mon),
offsetof(struct tm, tm_mday),