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:
Maschell 2023-01-02 17:08:04 +01:00
parent cda26ddfd4
commit 2b46671df6
1 changed files with 1 additions and 1 deletions

View File

@ -28,5 +28,5 @@ public:
~H3HashArray();
std::unique_ptr<uint8_t[]> data;
uint8_t size;
uint32_t size;
};