Merge branch 's390x-gregex-prce2-fix' into 'main'

gregex: use correct size for pcre2_pattern_info

Closes #2699

See merge request GNOME/glib!2840
This commit is contained in:
Emmanuele Bassi 2022-07-26 15:38:21 +00:00
commit 7eb791db52

View File

@ -1701,7 +1701,7 @@ regex_compile (const gchar *pattern,
PCRE2_SIZE erroffset;
gint errcode;
GRegexCompileFlags nonpcre_compile_options;
unsigned long int pcre_compile_options;
uint32_t pcre_compile_options;
nonpcre_compile_options = compile_options & G_REGEX_COMPILE_NONPCRE_MASK;