From 2b46671df60846c907191a7eae4946402a0e9a59 Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 2 Jan 2023 17:08:04 +0100 Subject: [PATCH] Store the size of H3HashArray in a uint32_t instead of int8_t to avoid an overflow of the size. --- source/WUD/content/partitions/volumes/H3HashArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WUD/content/partitions/volumes/H3HashArray.h b/source/WUD/content/partitions/volumes/H3HashArray.h index 64b45aa..10f886e 100644 --- a/source/WUD/content/partitions/volumes/H3HashArray.h +++ b/source/WUD/content/partitions/volumes/H3HashArray.h @@ -28,5 +28,5 @@ public: ~H3HashArray(); std::unique_ptr data; - uint8_t size; + uint32_t size; };