summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2021-01-11 21:17:51 +0100
committerFlorian Müllner <fmuellner@gnome.org>2021-01-12 03:20:03 +0100
commitfeb11d997dcd72729afa5b5ee9585ee653ac7f86 (patch)
tree5b42cd35bb1058befaec090bd0ace0d571be6e8a
parentd29a0f4c61862bce906f8e06f9149d896f7e9058 (diff)
downloadmutter-feb11d997dcd72729afa5b5ee9585ee653ac7f86.tar.gz
clutter: Fix build with clang
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1668> (cherry picked from commit d439501faf68e8d7adac37ebca519ae832d85987)
-rw-r--r--clutter/clutter/cally/cally-text.c2
1 files changed, 1 insertions, 1 deletions
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;