From 76376fc833831eb2584fd306a88d6e32c0043287 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 15 Feb 2019 16:42:18 -0800 Subject: include: max287x: Fix conversion warning --- host/lib/include/uhdlib/usrp/common/max287x.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/include/uhdlib/usrp/common/max287x.hpp b/host/lib/include/uhdlib/usrp/common/max287x.hpp index fd92c7ede..cb3a36068 100644 --- a/host/lib/include/uhdlib/usrp/common/max287x.hpp +++ b/host/lib/include/uhdlib/usrp/common/max287x.hpp @@ -615,7 +615,7 @@ double max287x::set_frequency( } //keep pfd freq low enough to achieve 50kHz BS clock - BS = std::ceil(pfd_freq / BS_FREQ); + BS = static_cast(std::ceil(pfd_freq / BS_FREQ)); if(BS <= MAX_BS_VALUE) break; } UHD_ASSERT_THROW(R <= r_range.stop()); -- cgit v1.2.3