mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:26:59 +03:00
Suppress conversion warning
This commit is contained in:
parent
5cb295341c
commit
14fc3dc9b3
1 changed files with 1 additions and 1 deletions
|
@ -53,6 +53,6 @@ void asConst(const T &&) = delete;
|
|||
// https://doc.qt.io/qt-6/qstring.html#operator-22-22_qs
|
||||
inline QString operator"" _qs(const char16_t *str, const std::size_t size)
|
||||
{
|
||||
return QString::fromRawData(reinterpret_cast<const QChar *>(str), size);
|
||||
return QString::fromRawData(reinterpret_cast<const QChar *>(str), static_cast<int>(size));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue