aboutsummaryrefslogtreecommitdiffstats
path: root/regexec.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-12 14:54:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-12 18:35:32 +0900
commit0ac3f2c20e50c22d298238f602f25f84248ac7a5 (patch)
treee1cd10a3e96e341acd69b2f0bef8d745876bd5a8 /regexec.c
parent1b697d7cb5eac5b7a05f659fbbde56a73d81d704 (diff)
downloadruby-0ac3f2c20e50c22d298238f602f25f84248ac7a5.tar.gz
[Bug #19587] Fix `reset_match_cache` arguments
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 2fb5af757f..65f8e8ee44 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3480,7 +3480,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
default:
goto unexpected_bytecode_error;
}
- reset_match_cache(reg, addr, pbegin, (long)(s - str), msa->match_cache, msa->cache_index_table, msa->num_cache_table ,msa->num_cache_opcode);
+ reset_match_cache(reg, addr, pbegin, (long)(s - str), msa->match_cache, msa->cache_index_table, msa->num_cache_opcode, msa->num_cache_table);
}
# endif
}