Make variant_op jumptable const

Not doing this was a bit of an oversight
This commit is contained in:
Hein-Pieter van Braam 2017-09-25 18:29:44 +02:00
parent 158c3fbf3c
commit 758accdcc2

View file

@ -100,7 +100,7 @@
}
/* clang-format on */
#define CASES(PREFIX) static void *switch_table_##PREFIX[25][27] = { \
#define CASES(PREFIX) static const void *switch_table_##PREFIX[25][27] = { \
TYPES(PREFIX, OP_EQUAL), \
TYPES(PREFIX, OP_NOT_EQUAL), \
TYPES(PREFIX, OP_LESS), \