[Pcre-svn] [502] code/trunk/src/pcre2test.c: Avoid "const-co…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [502] code/trunk/src/pcre2test.c: Avoid "const-correct" warning from MSVC.
Revision: 502
          http://www.exim.org/viewvc/pcre2?view=rev&revision=502
Author:   ph10
Date:     2016-02-29 17:43:01 +0000 (Mon, 29 Feb 2016)
Log Message:
-----------
Avoid "const-correct" warning from MSVC.


Modified Paths:
--------------
    code/trunk/src/pcre2test.c


Modified: code/trunk/src/pcre2test.c
===================================================================
--- code/trunk/src/pcre2test.c    2016-02-29 09:09:40 UTC (rev 501)
+++ code/trunk/src/pcre2test.c    2016-02-29 17:43:01 UTC (rev 502)
@@ -3850,8 +3850,8 @@


 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,