mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-27 15:26:33 -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…
Reference in New Issue
Block a user