Treat warning as errors
This commit is contained in:
@@ -95,7 +95,7 @@ bool SSHAgent::sendMessage(const QByteArray& in, QByteArray& out) const
|
||||
return false;
|
||||
}
|
||||
|
||||
if (in.length() > AGENT_MAX_MSGLEN - 4) {
|
||||
if (static_cast<quint32>(in.length()) > AGENT_MAX_MSGLEN - 4) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ private:
|
||||
#ifndef Q_OS_WIN
|
||||
QString m_socketPath;
|
||||
#else
|
||||
const int AGENT_MAX_MSGLEN = 8192;
|
||||
const quint32 AGENT_MAX_MSGLEN = 8192;
|
||||
const quint32 AGENT_COPYDATA_ID = 0x804e50ba;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user