Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps authored Apr 27, 2022
1 parent 9e5deff commit 3ad2c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PalettedBlockArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class IPalettedBlockArray {
bool mayNeedGC = false;
public:
static const unsigned char COORD_BIT_SIZE = 4; //number of coordinate bits per dimension
static const unsigned int COORD_MASK = ~(~0 << COORD_BIT_SIZE);
static const unsigned int COORD_MASK = ~(~0U << COORD_BIT_SIZE);
static const unsigned char ARRAY_DIM = 1 << COORD_BIT_SIZE; //length of one side of chunk
static const unsigned short ARRAY_CAPACITY = ARRAY_DIM * ARRAY_DIM * ARRAY_DIM; //number of blocks in chunk

Expand Down

0 comments on commit 3ad2c92

Please sign in to comment.