mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
Merge pull request #349 from Vort/master
Improve MSVC 2015 compatibility of FileSource plugin
This commit is contained in:
commit
5f94a94a73
@ -178,7 +178,7 @@ bool FileSourceInput::start()
|
|||||||
QMutexLocker mutexLocker(&m_mutex);
|
QMutexLocker mutexLocker(&m_mutex);
|
||||||
qDebug() << "FileSourceInput::start";
|
qDebug() << "FileSourceInput::start";
|
||||||
|
|
||||||
if (m_ifstream.tellg() != 0) {
|
if (m_ifstream.tellg() != (std::streampos)0) {
|
||||||
m_ifstream.clear();
|
m_ifstream.clear();
|
||||||
m_ifstream.seekg(sizeof(FileRecord::Header), std::ios::beg);
|
m_ifstream.seekg(sizeof(FileRecord::Header), std::ios::beg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user