From a543b1c99f4e3e8079db37b862af0eaaa7d2a01b Mon Sep 17 00:00:00 2001 From: RVdeported Date: Wed, 13 May 2026 22:43:31 +0200 Subject: [PATCH] [#4973] small fix on nullptr print for some platforms Signed-off-by: RVdeported --- googletest/src/gtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index ac90786a0..42440d3bd 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -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(shard_index) + 1, - GTEST_FLAG_GET(total_shards)); + (int) GTEST_FLAG_GET(total_shards)); } if (GTEST_FLAG_GET(shuffle)) {