From fddd337e343d2b5354d062d3b9011fcf247dba04 Mon Sep 17 00:00:00 2001 From: Ivan Sorokin Date: Wed, 18 Jun 2014 00:38:14 +0400 Subject: [PATCH] Suppress warning about signed/unsigned mismatch. --- src/webui/httpconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/httpconnection.cpp b/src/webui/httpconnection.cpp index 43c6696bd..c60db09de 100644 --- a/src/webui/httpconnection.cpp +++ b/src/webui/httpconnection.cpp @@ -166,7 +166,7 @@ void HttpConnection::translateDocument(QString& data) { QString translation = word; if (isTranslationNeeded) { - int context_index = 0; + size_t context_index = 0; while(context_index < context_count && translation == word) { #if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) translation = qApp->translate(contexts[context_index].c_str(), word.constData(), 0, QCoreApplication::UnicodeUTF8, 1);