mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	Improve MSVC 2015 compatibility of FileSource plugin (fixes #348)
This commit is contained in:
		
							parent
							
								
									81c6d4afd6
								
							
						
					
					
						commit
						2cdfd08b88
					
				| @ -178,7 +178,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); | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user