1
0
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:
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); 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)
{ {