diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-02-15 16:42:18 -0800 |
---|---|---|
committer | Michael West <michael.west@ettus.com> | 2019-03-05 10:32:11 -0800 |
commit | 76376fc833831eb2584fd306a88d6e32c0043287 (patch) | |
tree | 6a122c370b2b7b7e460662ae5f2841d60e3b00df /host/lib/include | |
parent | e8288d438ca87b3b0712f44925f35b03d6bc1f0a (diff) | |
download | uhd-76376fc833831eb2584fd306a88d6e32c0043287.tar.gz uhd-76376fc833831eb2584fd306a88d6e32c0043287.tar.bz2 uhd-76376fc833831eb2584fd306a88d6e32c0043287.zip |
include: max287x: Fix conversion warning
Diffstat (limited to 'host/lib/include')
-rw-r--r-- | host/lib/include/uhdlib/usrp/common/max287x.hpp | 2 |
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()); |