mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
g_module_symbol takes a gpointer *, not just a gpointer
This commit is contained in:
@@ -58,7 +58,7 @@ gplugin_a_module_func (GModule *module)
|
||||
{
|
||||
void (*f) (void) = NULL;
|
||||
|
||||
if (!g_module_symbol (module, "gplugin_say_boo_func", (gpointer) &f))
|
||||
if (!g_module_symbol (module, "gplugin_say_boo_func", (gpointer *) &f))
|
||||
{
|
||||
g_print ("error: %s\n", g_module_error ());
|
||||
exit (1);
|
||||
|
Reference in New Issue
Block a user