[gtksourceview] implregex: fix 32-bit compilation with sysprof enabled



commit f0e4c8414d7186c3a3ddc9003149a0753b2fc53a
Author: Christian Hergert <chergert redhat com>
Date:   Sat Dec 4 10:37:36 2021 -0800

    implregex: fix 32-bit compilation with sysprof enabled

 gtksourceview/implregex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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);


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