mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	Fix msvc compiler warnings
This commit is contained in:
		
							parent
							
								
									dfbeffb0a0
								
							
						
					
					
						commit
						44ba47bddc
					
				| @ -65,10 +65,12 @@ private: | ||||
| 
 | ||||
|     void phaseWrap() | ||||
|     { | ||||
|         while (m_phase > (2 * M_PI)) | ||||
|             m_phase -= 2 * M_PI; | ||||
|         while (m_phase < (-2 * M_PI)) | ||||
|             m_phase += 2 * M_PI; | ||||
|         const float two_pi = (float)(2.0 * M_PI); | ||||
| 
 | ||||
|         while (m_phase > two_pi) | ||||
|             m_phase -= two_pi; | ||||
|         while (m_phase < -two_pi) | ||||
|             m_phase += two_pi; | ||||
|     } | ||||
| 
 | ||||
|     void frequencyLimit() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user