From cc22df3bf222052b1dbe4d896e0e9d21d666c277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 1 Mar 2020 10:30:00 +0100 Subject: [PATCH] Cosmetics --- 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 8e7fefa4..86c550bf 100644 --- a/src/map/IMG/rgnfile.cpp +++ b/src/map/IMG/rgnfile.cpp @@ -425,7 +425,7 @@ QMap RGNFile::segments(Handle &hdl, quint32 ls = 0; SegmentType lt = (SegmentType)0; - for (quint16 mask = 0x1; mask <= 0x10; mask <<= 1) { + for (quint8 mask = 0x1; mask <= 0x10; mask <<= 1) { if (subdiv->objects() & mask) { if (ls) { quint16 po;