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:
parent
416f10d743
commit
cae8f9da18
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ bool PluginMgr::loadPlugin(QString nameStr)
|
||||||
((void (*)())init_func)();
|
((void (*)())init_func)();
|
||||||
}
|
}
|
||||||
|
|
||||||
create_ptr = old_create_ptr = NULL;
|
create_ptr = NULL;
|
||||||
|
old_create_ptr = NULL;
|
||||||
if( library->hasSymbol("create")) {
|
if( library->hasSymbol("create")) {
|
||||||
void* create_func = library->symbol("create");
|
void* create_func = library->symbol("create");
|
||||||
if(create_func) {
|
if(create_func) {
|
||||||
|
|
Loading…
Reference in a new issue