summaryrefslogtreecommitdiff
path: root/openbox/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/plugin.c')
-rw-r--r--openbox/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/plugin.c b/openbox/plugin.c
index 247d490a..a8556fc7 100644
--- a/openbox/plugin.c
+++ b/openbox/plugin.c
@@ -46,8 +46,8 @@ static Plugin *plugin_new(char *name)
return NULL;
}
- p->startup = load_sym(p->module, name, "plugin_startup");
- p->shutdown = load_sym(p->module, name, "plugin_shutdown");
+ p->startup = (PluginStartup)load_sym(p->module, name, "plugin_startup");
+ p->shutdown = (PluginShutdown)load_sym(p->module, name, "plugin_shutdown");
if (p->startup == NULL || p->shutdown == NULL) {
g_module_close(p->module);