diff --git a/src/compositor/mutter/mutter-module.c b/src/compositor/mutter/mutter-module.c index 65fc50a91..974addc1b 100644 --- a/src/compositor/mutter/mutter-module.c +++ b/src/compositor/mutter/mutter-module.c @@ -64,9 +64,10 @@ mutter_module_load (GTypeModule *gmodule) return FALSE; } - if (g_module_symbol (priv->lib, "mutter_plugin_version", (gpointer *)&info) && + if (g_module_symbol (priv->lib, "mutter_plugin_version", + (gpointer *)(void *)&info) && g_module_symbol (priv->lib, "mutter_plugin_register_type", - (gpointer *)®ister_type) && + (gpointer *)(void *)®ister_type) && info && register_type) { if (info->version_api != MUTTER_PLUGIN_API_VERSION)