diff options
author | TredwellGit <tredwell@tutanota.com> | 2020-09-02 22:58:03 +0300 |
---|---|---|
committer | TredwellGit <tredwell@tutanota.com> | 2020-09-02 22:58:03 +0300 |
commit | e5c8c2a08c09b18e84975d35e10c1f6b05485009 (patch) | |
tree | a64e3266407600a6247d59c5f93b98b3979e2239 /src/murmur/Server.cpp | |
parent | aaddd30246df6cf3b4045f8efbd60a0c7fc7019a (diff) |
FIX(server): Use valid format string type
Format specifies type 'void *' but the argument has type 'QObject *'. Using an argument of an unexpected type is undefined behavior.
Diffstat (limited to 'src/murmur/Server.cpp')
-rw-r--r-- | src/murmur/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Server.cpp b/src/murmur/Server.cpp index d055a3c5f..305a0f682 100644 --- a/src/murmur/Server.cpp +++ b/src/murmur/Server.cpp @@ -1584,7 +1584,7 @@ void Server::connectionClosed(QAbstractSocket::SocketError err, const QString &r // "Error while reading: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init [20]" // // Definitely not ideal, but it fixes a critical vulnerability. - qWarning("Ignored OpenSSL error 140E0197 for %p", sender()); + qWarning("Ignored OpenSSL error 140E0197 for %p", static_cast<void *>(sender())); return; } |