Skip to content

Commit 0c7303b

Browse files
committed
Fix gcc build error
1 parent 3748e7c commit 0c7303b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/logging_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ TEST(LoggingTest, HandlerWithLocationNullFileNamePassedThrough) {
173173
captured_file = file_name;
174174
});
175175

176-
log_message(LogLevel::Info, static_cast<uint32_t>(0), nullptr, true, "msg");
176+
log_message(LogLevel::Info, static_cast<uint32_t>(0), static_cast<const char*>(nullptr), true, "msg");
177177
clear_log_handler();
178178

179179
EXPECT_EQ(captured_line, 0u);

0 commit comments

Comments
 (0)