fix cmopiler warnings. check (de)initialization code.

This commit is contained in:
Tim Janik
1998-08-09 11:39:50 +00:00
parent 6050cbef0a
commit 1718cd8c8d
5 changed files with 71 additions and 20 deletions

View File

@@ -52,7 +52,7 @@ gplugin_a_module_func (GModule *module)
g_print ("GPluginA: retrive symbol `%s' from \"%s\"\n",
string,
g_basename (g_module_name (module)));
if (!g_module_symbol (module, string, &f))
if (!g_module_symbol (module, string, (gpointer) &f))
{
g_print ("error: %s\n", g_module_error ());
exit (1);