aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-02-15 16:42:18 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-02-28 10:24:52 -0800
commit4047f692d454446b10af4f67f4c208ba19b4dbef (patch)
tree0e4244106af8532cd32e0ddef39e5d2051631d2c /host
parent7193670fb3abaf92b5464d466adfea4cf6f888ee (diff)
downloaduhd-4047f692d454446b10af4f67f4c208ba19b4dbef.tar.gz
uhd-4047f692d454446b10af4f67f4c208ba19b4dbef.tar.bz2
uhd-4047f692d454446b10af4f67f4c208ba19b4dbef.zip
include: max287x: Fix conversion warning
Diffstat (limited to 'host')
-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());