Commit 1994e46a authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix using std::min with Qt6

Otherwise it complains about mixing int and qsizetype
parent 329f3664
Pipeline #208533 failed with stage
in 2 minutes and 31 seconds
......@@ -36,7 +36,7 @@ Key::Key(const bt::Uint8 *d)
Key::Key(const QByteArray &ba)
memcpy(hash,, std::min(20, ba.size()));
memcpy(hash,, std::min(20, static_cast<int>(ba.size())));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment