From cae8f9da18e2b791d74ed518f21a3a84858cee8a Mon Sep 17 00:00:00 2001 From: Kevin Puetz Date: Sat, 24 May 2003 02:33:48 +0000 Subject: [PATCH] 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 --- plugins.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins.cpp b/plugins.cpp index 85156b269b..4db286ce84 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -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) {