diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-30 14:52:52 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-30 14:52:52 +0400 |
commit | 936ef86d86a7c377e9f5cf5fd0326431c59f14c2 (patch) | |
tree | d9882e057e572b4938875c7412297d5e68b6966c /src/Message.h | |
parent | 53d2343c75bb6615cc01eb4c9163d8f34caf67f8 (diff) |
Remove a lot of compiler warnings
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) { |