aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvaluetype.cpp
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-08-24 10:05:53 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-24 07:07:56 +0200
commite8e3c206ac0d2ff436f7166fb73f33a7e8259b6a (patch)
treeae9bd0c1a09e5992241a7decd8d2a5adec6da98d /src/qml/qml/qqmlvaluetype.cpp
parentacf5251f855c8af7cd27776ecb1c9c7370b066bb (diff)
Fix warnings in QtQml
Change-Id: Ibba3b8e878257f7019bdc90a1344462b77f95a21 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlvaluetype.cpp')
-rw-r--r--src/qml/qml/qqmlvaluetype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvaluetype.cpp b/src/qml/qml/qqmlvaluetype.cpp
index cd11721e2b..58227a1ff9 100644
--- a/src/qml/qml/qqmlvaluetype.cpp
+++ b/src/qml/qml/qqmlvaluetype.cpp
@@ -78,7 +78,7 @@ QQmlValueTypeFactoryImpl::~QQmlValueTypeFactoryImpl()
bool QQmlValueTypeFactoryImpl::isValueType(int idx)
{
- if (idx >= QVariant::UserType) {
+ if (idx >= (int)QVariant::UserType) {
return (valueType(idx) != 0);
} else if (idx >= 0
&& idx != QVariant::StringList