From 0440a8e72aa9f86ce121963a1e98cab049e93930 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Mon, 29 Feb 2016 17:43:01 +0000 Subject: [PATCH] Avoid "const-correct" warning from MSVC. --- src/pcre2test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcre2test.c b/src/pcre2test.c index 100e1d2..d437e0e 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -3850,8 +3850,8 @@ if ((pat_patctl.control & (CTL_BINCODE|CTL_FULLBINCODE)) != 0) if ((pat_patctl.control & CTL_INFO) != 0) { - const void *nametable; - const uint8_t *start_bits; + void *nametable; + uint8_t *start_bits; BOOL match_limit_set, recursion_limit_set; uint32_t backrefmax, bsr_convention, capture_count, first_ctype, first_cunit, hasbackslashc, hascrorlf, jchanged, last_ctype, last_cunit, match_empty,