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:
Thiago Macieira
2012-05-20 21:15:30 +02:00
committed by hjk
parent 2d08cb93fc
commit ca4a5e7f03
6 changed files with 9 additions and 9 deletions

View File

@@ -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();