Utils: Fix compiler warning in Id

Change-Id: Idb5c81d9d8900cc4b8357dde5b416b2676309242
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2024-09-21 21:23:41 +03:00
committed by Orgad Shaneh
parent cbbd9cfdfe
commit b62baf436c

View File

@@ -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()