aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-15 15:18:04 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-15 15:18:04 +0200
commit61b3fa742e24acc6b1b7747b3e863dff43670d51 (patch)
tree2d6e92a31a542a9457e8e78ab4b8d21b2577a631 /src/output
parenta759d1fae861e7f0836283dae5dce49dae6528fc (diff)
downloaddabmod-61b3fa742e24acc6b1b7747b3e863dff43670d51.tar.gz
dabmod-61b3fa742e24acc6b1b7747b3e863dff43670d51.tar.bz2
dabmod-61b3fa742e24acc6b1b7747b3e863dff43670d51.zip
Fix compliation
Diffstat (limited to 'src/output')
-rw-r--r--src/output/Dexter.cpp2
1 files changed, 1 insertions, 1 deletions
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<double> remaining = max_holdover_duration - (steady_clock::now() - m_holdover_since);
- rs["remaining_holdover_s"].v = duration_cast<seconds>(remaining).count();
+ rs["remaining_holdover_s"].v = (ssize_t)duration_cast<seconds>(remaining).count();
}
break;
}