Fix MSVC 64bit warnings about truncation from size_t to int.
Change-Id: I9aea91aeb9f71817e9cc612d41351dbc98056500 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
This commit is contained in:
parent
e3ccc032f0
commit
a0373d8d36
@ -789,11 +789,11 @@ struct QMetaTypeId< DOUBLE_ARG_TEMPLATE<T, U> > \
|
||||
name.append('<'); \
|
||||
const char *tName = QMetaType::typeName(qMetaTypeId<T>()); \
|
||||
Q_ASSERT(tName); \
|
||||
name.append(tName, strlen(tName)); \
|
||||
name.append(tName, int(strlen(tName))); \
|
||||
name.append(','); \
|
||||
const char *uName = QMetaType::typeName(qMetaTypeId<U>()); \
|
||||
Q_ASSERT(uName); \
|
||||
name.append(uName, strlen(uName)); \
|
||||
name.append(uName, int(strlen(uName))); \
|
||||
if (name.last() == '>') \
|
||||
name.append(' '); \
|
||||
name.append('>'); \
|
||||
|
Loading…
Reference in New Issue
Block a user