From 39119bf8adb77207cf06a9ff2f97f20e1e4bd88d Mon Sep 17 00:00:00 2001 From: Miki Rozloznik Date: Wed, 19 Jun 2024 07:14:38 +0800 Subject: [PATCH] fix mingw --- .../parameterized_types/cpp/PackedArrayElementParamTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/language/parameterized_types/cpp/PackedArrayElementParamTest.cpp b/test/language/parameterized_types/cpp/PackedArrayElementParamTest.cpp index 9fae3dd20..9249470cd 100644 --- a/test/language/parameterized_types/cpp/PackedArrayElementParamTest.cpp +++ b/test/language/parameterized_types/cpp/PackedArrayElementParamTest.cpp @@ -43,7 +43,7 @@ class PackedArrayElementParamTest : public ::testing::Test size_t getUnpackedDatabaseBitSize(uint16_t numBlocks) { size_t bitSize = 16; // numBlocks - bitSize += numBlocks * (16 + 32); // headers + bitSize += static_cast(numBlocks) * (16 + 32); // headers for (size_t i = 0; i < numBlocks; ++i) { bitSize += 64 + (i + 1) * 64; // blocks[i]