mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	Race condition in glScope traces processing: fixed compilation warning
This commit is contained in:
		
							parent
							
								
									7d9ca913ec
								
							
						
					
					
						commit
						47b9852bcc
					
				| @ -621,7 +621,7 @@ int ScopeVis::processTraces(const SampleVector::const_iterator& cbegin, const Sa | ||||
|         } | ||||
| 
 | ||||
|         // switch to next buffer only if it is not being processed by the scope
 | ||||
|         if (m_glScope->getProcessingTraceIndex().load() != ((m_traces.currentBufferIndex() + 1) % 2)) { | ||||
|         if (m_glScope->getProcessingTraceIndex().load() != (((int) m_traces.currentBufferIndex() + 1) % 2)) { | ||||
|             m_traces.switchBuffer(); | ||||
|         } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user