Fix gcc warnings about signed/unsigned comparison

Change-Id: I43f0de47dccf67da2f4b622f70c76a69198286d5
Reviewed-on: http://codereview.qt.nokia.com/2860
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Kai Koehne
2011-08-11 13:16:09 +02:00
parent e768fbf5d1
commit 7c5c6fc88e
2 changed files with 2 additions and 2 deletions

View File

@@ -2159,7 +2159,7 @@ SemanticInfo SemanticHighlighter::semanticInfo(const Source &source)
m_mutex.lock();
if (! source.force
&& m_lastSemanticInfo.revision == source.revision
&& m_lastSemanticInfo.revision == (unsigned)source.revision
&& m_lastSemanticInfo.doc
&& m_lastSemanticInfo.doc->translationUnit()->ast()
&& m_lastSemanticInfo.doc->fileName() == source.fileName) {