Commit 0f120ea5 authored by Ting-Wei Lan's avatar Ting-Wei Lan

Cast the return value of g_array_free to void* before casting to char**

Let the compiler know that we don't want to use it as char*, so there is
no alignment error.

https://bugzilla.gnome.org/show_bug.cgi?id=760350
https://bugzilla.gnome.org/show_bug.cgi?id=755659
parent 2dc8d1f6
...@@ -138,7 +138,7 @@ gtk_action_muxer_list_actions (GActionGroup *action_group) ...@@ -138,7 +138,7 @@ gtk_action_muxer_list_actions (GActionGroup *action_group)
actions); actions);
} }
return (gchar **) g_array_free (actions, FALSE); return (gchar **)(void *) g_array_free (actions, FALSE);
} }
static Group * static Group *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment