forked from qt-creator/qt-creator
Utils: Fix compiler warning in Id
Change-Id: Idb5c81d9d8900cc4b8357dde5b416b2676309242 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
cbbd9cfdfe
commit
b62baf436c
@@ -125,7 +125,7 @@ static quintptr theId(const char *str, int n)
|
||||
|
||||
*/
|
||||
Id::Id(const char *s, size_t len)
|
||||
: m_id(theId(s, len))
|
||||
: m_id(theId(s, static_cast<int>(len)))
|
||||
{}
|
||||
|
||||
Id Id::generate()
|
||||
|
Reference in New Issue
Block a user