aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/Lexer.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-08-14 16:11:12 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-08-17 16:26:10 +0000
commit25c6ea9ce74e6523048eb33cd7931264820ecacf (patch)
tree6b8dc73bdde3519898b2df994fa789237595597d /src/libs/3rdparty/cplusplus/Lexer.cpp
parent51137131282d80d7310e25ebad4a676ea0827fbe (diff)
Fix change-of-sign warning with ICC
src/libs/3rdparty/cplusplus/Lexer.cpp(88): warning #68: integer conversion resulted in a change of sign Change-Id: I7de033f80b0e4431b7f1ffff13fa771758c95611 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Lexer.cpp')
-rw-r--r--src/libs/3rdparty/cplusplus/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/3rdparty/cplusplus/Lexer.cpp b/src/libs/3rdparty/cplusplus/Lexer.cpp
index 981daef51f..8d4e9416c9 100644
--- a/src/libs/3rdparty/cplusplus/Lexer.cpp
+++ b/src/libs/3rdparty/cplusplus/Lexer.cpp
@@ -85,7 +85,7 @@ void Lexer::setSource(const char *firstChar, const char *lastChar)
_firstChar = firstChar;
_lastChar = lastChar;
_currentChar = _firstChar - 1;
- _currentCharUtf16 = -1;
+ _currentCharUtf16 = ~0;
_tokenStart = _currentChar;
_yychar = '\n';
}