mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
A little bit more sane bitmask
This commit is contained in:
parent
aff4dc9408
commit
8589716a59
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user