aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/refactoringchanges.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-20 21:15:30 +0200
committerhjk <qthjk@ovi.com>2012-05-22 18:51:32 +0200
commitca4a5e7f03c68b32154977202750e20199baa9c7 (patch)
tree704efea98def1c445ffac44aae53d69502144ab8 /src/plugins/texteditor/refactoringchanges.cpp
parent2d08cb93fc4422b4670d3c44f7575b3ee5278a1d (diff)
Fix the rest of the warnings about integer sign change with ICC
None of these change the code in any way. The solutions applied are: - change the type to a more appropriate one, if possible - use ~0 instead of -1 when flags were intended - cast a -1 to the proper type otherwise Change-Id: Ifcc125528f32b8c8f9ab20bea103e2a693045bf8 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.cpp')
-rw-r--r--src/plugins/texteditor/refactoringchanges.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.cpp b/src/plugins/texteditor/refactoringchanges.cpp
index 0db20597ada..9ef23a465c3 100644
--- a/src/plugins/texteditor/refactoringchanges.cpp
+++ b/src/plugins/texteditor/refactoringchanges.cpp
@@ -330,7 +330,7 @@ void RefactoringFile::apply()
{
// open / activate / goto position
if (m_openEditor && !m_fileName.isEmpty()) {
- unsigned line = -1, column = -1;
+ unsigned line = unsigned(-1), column = unsigned(-1);
if (m_editorCursorPosition != -1)
lineAndColumn(m_editorCursorPosition, &line, &column);
m_editor = RefactoringChanges::openEditor(m_fileName, m_activateEditor, line, column);