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:
parent
440f452aa3
commit
de38f914e8
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user