[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore (silent)
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2008-09-06 15:16:05
Message-ID: 1220714165.932025.27129.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 857837 by chehrlic:

SVN_SILENT: warnings--

 M  +1 -1      io/kcmdwrapper.cpp  
 M  +2 -2      util/kpluginloader.cpp  


--- trunk/KDE/kdelibs/kdecore/io/kcmdwrapper.cpp #857836:857837
@@ -45,7 +45,7 @@
 
     OutputDebugStringW(szBuf);
     LocalFree(lpMsgBuf);
-    ExitProcess(-1);
+    ExitProcess(~0U);
 }
 
 void printUsage(void)
--- trunk/KDE/kdelibs/kdecore/util/kpluginloader.cpp #857836:857837
@@ -36,7 +36,7 @@
     Q_DECLARE_PUBLIC(KPluginLoader)
 protected:
     KPluginLoaderPrivate(const QString &libname)
-        : name(libname), pluginVersion(-1), verificationData(0), lib(0)
+        : name(libname), pluginVersion(~0U), verificationData(0), lib(0)
     {}
     ~KPluginLoaderPrivate()
     {
@@ -200,7 +200,7 @@
     if (version)
         d->pluginVersion = *version;
     else
-        d->pluginVersion = -1;
+        d->pluginVersion = ~0U;
 
     lib.unload();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic