[gtksourceview] implregex: fix type for subpatterns



commit c012e79af0eadb24fa277728813614131bdd211c
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 2 17:14:22 2021 -0700

    implregex: fix type for subpatterns

 gtksourceview/implregex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/implregex.c b/gtksourceview/implregex.c
index 6918de76..fcbe618f 100644
--- a/gtksourceview/implregex.c
+++ b/gtksourceview/implregex.c
@@ -75,7 +75,7 @@ struct _ImplMatchInfo
        pcre2_match_data *match_data;
        PCRE2_SIZE       *offsets;
        int               matches;
-       PCRE2_SIZE        n_subpatterns;
+       int               n_subpatterns;
        gssize            start_pos;
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]