From b27dfe272cc97cb003dabf9587da180dbf66b996 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 11 Oct 2010 22:27:49 +0000 Subject: [PATCH] fix compiler warnings --- src/chatcleaner/messagefilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chatcleaner/messagefilter.cpp b/src/chatcleaner/messagefilter.cpp index 7f5e9b88..73233154 100644 --- a/src/chatcleaner/messagefilter.cpp +++ b/src/chatcleaner/messagefilter.cpp @@ -204,7 +204,7 @@ void MessageFilter::cleanKickCounterList() QMapIterator it(myClientKickCounterList); while (it.hasNext()) { it.next(); - if(timer.elapsed().total_seconds()-it.value().lastKickTimestamp > config->readConfigInt("SecondsToForgetAboutKick")) { + if(timer.elapsed().total_seconds()-it.value().lastKickTimestamp > static_cast(config->readConfigInt("SecondsToForgetAboutKick"))) { // qDebug() << it.key() << "removed from kick counter list" << endl; myClientKickCounterList.remove(it.key()); }