diff --git a/src/dynamic_load.c b/src/dynamic_load.c index 13f1705c4a..b192a4caa6 100644 --- a/src/dynamic_load.c +++ b/src/dynamic_load.c @@ -92,7 +92,7 @@ static void *dlopen(const char *foo, int UNUSED(how)) return NULL; } - res = find_semidynamic_module(name, end - name); + res = (void *)find_semidynamic_module(name, end - name); free_string(s); return res; }