From 936ef86d86a7c377e9f5cf5fd0326431c59f14c2 Mon Sep 17 00:00:00 2001 From: Thorvald Natvig Date: Thu, 30 Apr 2009 12:52:52 +0200 Subject: Remove a lot of compiler warnings --- src/Message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Message.h') 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(str.length())); } inline QString u8(const ::std::wstring &str) { -- cgit v1.2.3