OSDN Git Service

Increased warning level to #4 and fixed a number of warnings.
[mutilities/MUtilities.git] / include / MUtils / IPCChannel.h
index cbcdf26..580ee75 100644 (file)
@@ -56,7 +56,7 @@ namespace MUtils
                bool read(quint32 &command, quint32 &flags, QStringList &params);
 
        private:
-               IPCChannel(const IPCChannel&) : p(NULL), m_appVersionNo(-1) { throw "Constructor is disabled!"; }
+               IPCChannel(const IPCChannel&) : p(NULL), m_appVersionNo((unsigned int)(-1)) { throw "Constructor is disabled!"; }
                IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; return *this; }
 
                const QString m_applicationId;