build: Fix build with clang -Werror
https://bugzilla.gnome.org/show_bug.cgi?id=755659
This commit is contained in:
parent
fe986faa2d
commit
1de288c5bb
@ -139,7 +139,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 *
|
||||||
|
@ -84,12 +84,12 @@ shell_glsl_quad_add_glsl_snippet (ShellGLSLQuad *quad,
|
|||||||
|
|
||||||
if (is_replace)
|
if (is_replace)
|
||||||
{
|
{
|
||||||
snippet = cogl_snippet_new (hook, declarations, NULL);
|
snippet = cogl_snippet_new ((CoglSnippetHook)hook, declarations, NULL);
|
||||||
cogl_snippet_set_replace (snippet, code);
|
cogl_snippet_set_replace (snippet, code);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
snippet = cogl_snippet_new (hook, declarations, code);
|
snippet = cogl_snippet_new ((CoglSnippetHook)hook, declarations, code);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hook == SHELL_SNIPPET_HOOK_VERTEX ||
|
if (hook == SHELL_SNIPPET_HOOK_VERTEX ||
|
||||||
|
Loading…
Reference in New Issue
Block a user