aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include')
-rw-r--r--host/lib/include/uhdlib/usrp/common/max287x.hpp2
1 files changed, 1 insertions, 1 deletions
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<max287x_regs_t>::set_frequency(
}
//keep pfd freq low enough to achieve 50kHz BS clock
- BS = std::ceil(pfd_freq / BS_FREQ);
+ BS = static_cast<int>(std::ceil(pfd_freq / BS_FREQ));
if(BS <= MAX_BS_VALUE) break;
}
UHD_ASSERT_THROW(R <= r_range.stop());