mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-04 22:27:53 -04:00
plutosdr device: fix warning
warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
This commit is contained in:
parent
770be1ddfb
commit
9b1c24ee3d
@ -658,8 +658,8 @@ void DevicePlutoSDRBox::getXO()
|
|||||||
get_param(DEVICE_PHY, "xo_correction", valueStr);
|
get_param(DEVICE_PHY, "xo_correction", valueStr);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_xoInitial = boost::lexical_cast<int64_t>(valueStr);
|
m_xoInitial = boost::lexical_cast<quint64>(valueStr);
|
||||||
qDebug("DevicePlutoSDRBox::getXO: %ld", m_xoInitial);
|
qDebug("DevicePlutoSDRBox::getXO: %llu", m_xoInitial);
|
||||||
}
|
}
|
||||||
catch (const boost::bad_lexical_cast &e)
|
catch (const boost::bad_lexical_cast &e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user