From 61b3fa742e24acc6b1b7747b3e863dff43670d51 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 15 Aug 2023 15:18:04 +0200 Subject: Fix compliation --- src/output/Dexter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp index 457ec78..8e2a6c5 100644 --- a/src/output/Dexter.cpp +++ b/src/output/Dexter.cpp @@ -420,7 +420,7 @@ SDRDevice::run_statistics_t Dexter::get_run_statistics(void) const using namespace std::chrono; const auto max_holdover_duration = seconds(m_conf.maxGPSHoldoverTime); const duration remaining = max_holdover_duration - (steady_clock::now() - m_holdover_since); - rs["remaining_holdover_s"].v = duration_cast(remaining).count(); + rs["remaining_holdover_s"].v = (ssize_t)duration_cast(remaining).count(); } break; } -- cgit v1.2.3