summaryrefslogtreecommitdiffstats
path: root/src/tools/moc
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-03-15 21:47:59 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-16 12:31:24 +0100
commitde38f914e898b0333ff9ef452ee9d1caa1907999 (patch)
treeaee13c22a3e92ce5a029c5b66738336c869507e3 /src/tools/moc
parent440f452aa3a5609e5f6006a03ac36d41462d5908 (diff)
Fix comparison type warning.
Change-Id: I4051c5bc204215f368e4381e508dd870be240f8f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/tools/moc')
-rw-r--r--src/tools/moc/generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/moc/generator.cpp b/src/tools/moc/generator.cpp
index 1284518fc5..afd4cfe601 100644
--- a/src/tools/moc/generator.cpp
+++ b/src/tools/moc/generator.cpp
@@ -60,7 +60,7 @@ uint nameToBuiltinType(const QByteArray &name)
return 0;
uint tp = QMetaType::type(name.constData());
- return tp < uint(QMetaType::User) ? tp : QMetaType::UnknownType;
+ return tp < uint(QMetaType::User) ? tp : uint(QMetaType::UnknownType);
}
/*