From 5b4421c24694dc3e41f7553527ae9d69ab893239 Mon Sep 17 00:00:00 2001 From: rimathia Date: Thu, 17 Sep 2020 20:57:54 +0200 Subject: [PATCH] hopefully last forgotten (void*) --- test/compile-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compile-test.cc b/test/compile-test.cc index 0e52e8a1..6ed527d1 100644 --- a/test/compile-test.cc +++ b/test/compile-test.cc @@ -153,7 +153,7 @@ TEST(CompileTest, FormatSpecs) { EXPECT_EQ("42", fmt::format(FMT_COMPILE("{:x}"), 0x42)); EXPECT_EQ("1.234000:0042:+3.13:str:0x3e8:X", fmt::format(FMT_COMPILE("{:.6f}:{:04}:{:+}:{}:{}:{}"), 1.234, 42, - 3.13, "str", (void*)1000, 'X')); + 3.13, "str", reinterpret_cast(1000), 'X')); } TEST(CompileTest, DynamicWidth) {