From f4ee36a173eaf76501c339f8a10c6dc688dd217d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 10 Jan 2021 16:17:19 +0100 Subject: [PATCH] Silence Qt6 MSVC warning --- src/map/IMG/rgnfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/IMG/rgnfile.cpp b/src/map/IMG/rgnfile.cpp index 9e88e9c8..76a3a998 100644 --- a/src/map/IMG/rgnfile.cpp +++ b/src/map/IMG/rgnfile.cpp @@ -14,7 +14,7 @@ static quint64 pointId(const QPoint &pos, quint32 type, quint32 labelPtr) { quint64 id; - uint hash = qHash(QPair(qHash(QPair(pos.x(), + uint hash = (uint)qHash(QPair(qHash(QPair(pos.x(), pos.y())), labelPtr & 0x3FFFFF)); id = ((quint64)type)<<32 | hash; // Make country labels precedent over city labels