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>
This commit is contained in:
Stephen Kelly 2012-03-15 21:47:59 +01:00 committed by Qt by Nokia
parent 440f452aa3
commit de38f914e8

View File

@ -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);
}
/*