Fix warnings in QtQml due to ?: with enums of different types
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 22 Dec 2012 07:02:45 +0000 (23:02 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 23 Dec 2012 00:36:37 +0000 (01:36 +0100)
commit8e1b381318a1b90fc3dceb165ca23416d85b71f3
treefb07a75c9a179fe509f25b8d8f6948bfddfb4273
parentd194a31bdbe2378e99a1d3e1089ecd9cf6640d85
Fix warnings in QtQml due to ?: with enums of different types

The compiler was complaining a lot about:
qml/parser/qqmljskeywords_p.h:400:57: error: enumeral mismatch in conditional expression: 'QQmlJS::Lexer::<anonymous enum>' vs 'QQmlJSGrammar::VariousConstants' [-Werror=enum-compare]

Change-Id: Ib6acd3fbae048c33626321bf5e7ee8b50bb6b48e
Reviewed-by: Alan Alpert <aalpert@rim.com>
src/qml/qml/parser/qqmljskeywords_p.h