Treat warning as errors

This commit is contained in:
Janek Bevendorff 2017-11-27 20:39:44 +01:00
parent d1c26e4535
commit d35f3fc573
4 changed files with 9 additions and 3 deletions

View file

@ -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;
}