[#4973] small fix on nullptr print for some platforms

Signed-off-by: RVdeported <romanvetrin@gmail.com>
This commit is contained in:
RVdeported 2026-05-13 22:43:31 +02:00
parent d72f9c8aea
commit a543b1c99f

View File

@ -3491,7 +3491,7 @@ void PrettyUnitTestResultPrinter::OnTestIterationStart(
const int32_t shard_index = GTEST_FLAG_GET(shard_index);
ColoredPrintf(GTestColor::kYellow, "Note: This is test shard %d of %d.\n",
static_cast<int>(shard_index) + 1,
GTEST_FLAG_GET(total_shards));
(int) GTEST_FLAG_GET(total_shards));
}
if (GTEST_FLAG_GET(shuffle)) {