commit fix for jcook

create_ptr and old_create_ptr have incompatible types, apparently
some compilers don't the type problem and complain (2.95.4 at least)

svn path=/trunk/kdebase/kwin/; revision=227517
This commit is contained in:
Kevin Puetz 2003-05-24 02:33:48 +00:00
parent 416f10d743
commit cae8f9da18

View file

@ -123,7 +123,8 @@ bool PluginMgr::loadPlugin(QString nameStr)
((void (*)())init_func)();
}
create_ptr = old_create_ptr = NULL;
create_ptr = NULL;
old_create_ptr = NULL;
if( library->hasSymbol("create")) {
void* create_func = library->symbol("create");
if(create_func) {