1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05: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:
Davide Gerhard 2019-04-15 16:17:36 +02:00
parent 770be1ddfb
commit 9b1c24ee3d
No known key found for this signature in database
GPG Key ID: 7CBEFA144857DC97

View File

@ -658,8 +658,8 @@ void DevicePlutoSDRBox::getXO()
get_param(DEVICE_PHY, "xo_correction", valueStr);
try
{
m_xoInitial = boost::lexical_cast<int64_t>(valueStr);
qDebug("DevicePlutoSDRBox::getXO: %ld", m_xoInitial);
m_xoInitial = boost::lexical_cast<quint64>(valueStr);
qDebug("DevicePlutoSDRBox::getXO: %llu", m_xoInitial);
}
catch (const boost::bad_lexical_cast &e)
{