From 25b281a0bb6c0e47015b339a8656c4056406efe9 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Mon, 4 Mar 2024 16:25:55 +0100 Subject: [PATCH] more lints, because every single platform must of course fail differently --- examples/cpp/external_data_loader/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cpp/external_data_loader/main.cpp b/examples/cpp/external_data_loader/main.cpp index 286e4d9f739c..0a39a9499db9 100644 --- a/examples/cpp/external_data_loader/main.cpp +++ b/examples/cpp/external_data_loader/main.cpp @@ -17,7 +17,7 @@ void set_time_from_args(const rerun::RecordingStream& rec, cxxopts::ParseResult& if (pos != std::string::npos) { auto timeline_name = time_str.substr(0, pos); int64_t time = std::stol(time_str.substr(pos + 1)); - rec.set_time_seconds(timeline_name, time); + rec.set_time_seconds(timeline_name, static_cast(time)); } } }