mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-26 00:05:34 -04:00
Treat warning as errors
This commit is contained in:
parent
d1c26e4535
commit
d35f3fc573
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue