1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-04 01:46:17 -04:00

Improve MSVC 2015 compatibility of FileSource plugin (fixes #348)

SoapySDR: enhanced log message during scan to show which id parameters are used
Windows build fixes
Perseus server: fixed missing libusb libraries in cmake file
This commit is contained in:
f4exb
2019-05-23 16:25:44 +02:00
parent c99b16f7d7
commit 6c71893143
7 changed files with 25 additions and 9 deletions
@@ -181,7 +181,7 @@ bool FileSourceInput::start()
QMutexLocker mutexLocker(&m_mutex);
qDebug() << "FileSourceInput::start";
if (m_ifstream.tellg() != 0) {
if (m_ifstream.tellg() != (std::streampos)0) {
m_ifstream.clear();
m_ifstream.seekg(sizeof(FileRecord::Header), std::ios::beg);
}