diff options
Diffstat (limited to 'src/Message.h')
-rw-r--r-- | src/Message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Message.h b/src/Message.h index ac53df5bf..623a6b394 100644 --- a/src/Message.h +++ b/src/Message.h @@ -66,7 +66,7 @@ class MessageHandler { }; inline QString u8(const ::std::string &str) { - return QString::fromUtf8(str.data(), str.length()); + return QString::fromUtf8(str.data(), static_cast<int>(str.length())); } inline QString u8(const ::std::wstring &str) { |