From d439501faf68e8d7adac37ebca519ae832d85987 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Mon, 11 Jan 2021 21:17:51 +0100 Subject: [PATCH] clutter: Fix build with clang Signed-off-by: Marc-Antoine Perennou Part-of: --- clutter/clutter/cally/cally-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter/cally/cally-text.c b/clutter/clutter/cally/cally-text.c index c1419b4bf..fe4abb710 100644 --- a/clutter/clutter/cally/cally-text.c +++ b/clutter/clutter/cally/cally-text.c @@ -1866,7 +1866,7 @@ static gint _cally_atk_attribute_lookup_func (gconstpointer data, gconstpointer user_data) { - AtkTextAttribute attr = (AtkTextAttribute) user_data; + AtkTextAttribute attr = (AtkTextAttribute) GPOINTER_TO_INT (user_data); AtkAttribute *at = (AtkAttribute *) data; if (!g_strcmp0 (at->name, atk_text_attribute_get_name (attr))) return 0;