diff options
Diffstat (limited to 'absl/log/log_format_test.cc')
-rw-r--r-- | absl/log/log_format_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/log/log_format_test.cc b/absl/log/log_format_test.cc index 3fdb358a..c629fce7 100644 --- a/absl/log/log_format_test.cc +++ b/absl/log/log_format_test.cc @@ -108,7 +108,7 @@ TYPED_TEST(CharLogFormatTest, Printable) { TYPED_TEST(CharLogFormatTest, Unprintable) { absl::ScopedMockLog test_sink(absl::MockLogDefault::kDisallowUnexpected); - const TypeParam value = 0xeeu; + constexpr auto value = static_cast<TypeParam>(0xeeu); auto comparison_stream = ComparisonStream(); comparison_stream << value; |