1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Silence Qt6 MSVC warning

This commit is contained in:
Martin Tůma 2021-01-10 16:17:19 +01:00
parent ae1e357fb7
commit f4ee36a173

View File

@ -14,7 +14,7 @@ static quint64 pointId(const QPoint &pos, quint32 type, quint32 labelPtr)
{
quint64 id;
uint hash = qHash(QPair<uint,uint>(qHash(QPair<int, int>(pos.x(),
uint hash = (uint)qHash(QPair<uint,uint>(qHash(QPair<int, int>(pos.x(),
pos.y())), labelPtr & 0x3FFFFF));
id = ((quint64)type)<<32 | hash;
// Make country labels precedent over city labels