Store the size of H3HashArray in a uint32_t instead of int8_t to avoid an overflow of the size.
This commit is contained in:
parent
cda26ddfd4
commit
2b46671df6
|
@ -28,5 +28,5 @@ public:
|
|||
~H3HashArray();
|
||||
|
||||
std::unique_ptr<uint8_t[]> data;
|
||||
uint8_t size;
|
||||
uint32_t size;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue