diff --git a/plugins.cpp b/plugins.cpp index 2b544243d1..cda1c71af8 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -164,7 +164,7 @@ void PluginMgr::loadPlugin(QString nameStr) if( !path.isEmpty() ) { if ( (handle = lt_dlopen(path.latin1() ) ) ) { - lt_ptr_t alloc_func = lt_dlsym(handle, "allocate"); + lt_ptr alloc_func = lt_dlsym(handle, "allocate"); if(alloc_func) { alloc_ptr = (Client* (*)(Workspace *ws, WId w, int tool))alloc_func; } else{