plutosdr device: fix warning

warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pull/326/head
Davide Gerhard 2019-04-15 16:17:36 +02:00
rodzic 770be1ddfb
commit 9b1c24ee3d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7CBEFA144857DC97
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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)
{