]> granicus.if.org Git - onig/commitdiff
constify content member in CalloutListEntry
authorK.Kosako <kosako@sofnec.co.jp>
Fri, 2 Mar 2018 07:43:27 +0000 (16:43 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Fri, 2 Mar 2018 07:43:27 +0000 (16:43 +0900)
src/regint.h

index 6a84fee8012dc464558dba71aa8246d1b2e95e69..bb39de88d4d1c06d89e1fd54ca372d52759ef27a 100644 (file)
@@ -267,8 +267,8 @@ typedef struct {
   OnigCalloutFunc end_func;
   union {
     struct {
-      UChar* start;
-      UChar* end;
+      const UChar* start;
+      const UChar* end;
     } content;
     struct {
       int num;