1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

A little bit more sane bitmask

This commit is contained in:
Martin Tůma 2021-05-31 22:37:55 +02:00
parent aff4dc9408
commit 8589716a59

View File

@ -10,7 +10,7 @@
using namespace IMG; using namespace IMG;
#define MASK(bits) ((2U << ((bits) - 1U)) - 1U) #define MASK(bits) ((1U << (bits)) - 1U)
static quint64 pointId(const QPoint &pos, quint32 type, quint32 labelPtr) static quint64 pointId(const QPoint &pos, quint32 type, quint32 labelPtr)
{ {