summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 0c379aa678..f52e55f879 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1372,7 +1372,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
#define NEXT sprev = sbegin; JUMP
#define JUMP goto *oplabels[*p++]
- static void *oplabels[] = {
+ static const void *oplabels[] = {
&&L_OP_FINISH, /* matching process terminator (no more alternative) */
&&L_OP_END, /* pattern code terminator (success end) */