gtksourceview5/32-bit-int-fix.patch
2022-01-04 11:14:08 +01:00

14 lines
616 B
Diff

diff --git a/gtksourceview/implregex.c b/gtksourceview/implregex.c
index 7cb9a18a..b8eb8137 100644
--- a/gtksourceview/implregex.c
+++ b/gtksourceview/implregex.c
@@ -236,7 +236,7 @@ impl_regex_new (const char *pattern,
#ifdef GTK_SOURCE_PROFILER_ENABLED
if (GTK_SOURCE_PROFILER_ACTIVE)
- message = g_strdup_printf ("compile=%lx match=%lx pattern=%s",
+ message = g_strdup_printf ("compile=%"G_GSIZE_MODIFIER"x match=%"G_GSIZE_MODIFIER"x pattern=%s",
regex->compile_flags,
regex->match_flags,
regex->pattern);