From b233677fc9cef697b1cbfad3636a4fe7338274a0 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 24 Feb 2018 05:56:00 +0100 Subject: Fix pedantic warnings --- plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin.c') diff --git a/plugin.c b/plugin.c index 1f552f0..39a92be 100644 --- a/plugin.c +++ b/plugin.c @@ -30,7 +30,7 @@ static int plugin_attach(char* path, char* file){ return 0; } - init = dlsym(handle, "init"); + init = (plugin_init) dlsym(handle, "init"); if(init){ if(init()){ fprintf(stderr, "Plugin %s failed to initialize\n", lib); -- cgit v1.2.3