Skip to content

Commit

Permalink
Store the size of H3HashArray in a uint32_t instead of int8_t to avoi…
Browse files Browse the repository at this point in the history
…d an overflow of the size.
  • Loading branch information
Maschell committed Jan 2, 2023
1 parent cda26dd commit 2b46671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/WUD/content/partitions/volumes/H3HashArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class H3HashArray {
~H3HashArray();

std::unique_ptr<uint8_t[]> data;
uint8_t size;
uint32_t size;
};

0 comments on commit 2b46671

Please sign in to comment.