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>
This commit is contained in:
parent
237cdeef4c
commit
d439501faf
@ -1866,7 +1866,7 @@ static gint
|
|||||||
_cally_atk_attribute_lookup_func (gconstpointer data,
|
_cally_atk_attribute_lookup_func (gconstpointer data,
|
||||||
gconstpointer user_data)
|
gconstpointer user_data)
|
||||||
{
|
{
|
||||||
AtkTextAttribute attr = (AtkTextAttribute) user_data;
|
AtkTextAttribute attr = (AtkTextAttribute) GPOINTER_TO_INT (user_data);
|
||||||
AtkAttribute *at = (AtkAttribute *) data;
|
AtkAttribute *at = (AtkAttribute *) data;
|
||||||
if (!g_strcmp0 (at->name, atk_text_attribute_get_name (attr)))
|
if (!g_strcmp0 (at->name, atk_text_attribute_get_name (attr)))
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user