forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -278,7 +278,7 @@ QByteArray GLSLEditorPlugin::glslFile(const QString &fileName) const
|
||||
void GLSLEditorPlugin::parseGlslFile(const QString &fileName, InitFile *initFile) const
|
||||
{
|
||||
// Parse the builtins for any langugage variant so we can use all keywords.
|
||||
const unsigned variant = GLSL::Lexer::Variant_All;
|
||||
const int variant = GLSL::Lexer::Variant_All;
|
||||
|
||||
const QByteArray code = glslFile(fileName);
|
||||
initFile->engine = new GLSL::Engine();
|
||||
|
||||
Reference in New Issue
Block a user