diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-09-28 23:41:50 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-09-28 23:41:50 +0300 |
commit | e52e26a18e3f658a20f620fc55be82f0feef5d01 (patch) | |
tree | 4dad56007910f2b9dac83c9a034dea36cad4ff44 /src/adlmidi_opl3.cpp | |
parent | e94f88561c562148d8d2b95d36d674e58af9aa0d (diff) | |
download | libADLMIDI-e52e26a18e3f658a20f620fc55be82f0feef5d01.tar.gz libADLMIDI-e52e26a18e3f658a20f620fc55be82f0feef5d01.tar.bz2 libADLMIDI-e52e26a18e3f658a20f620fc55be82f0feef5d01.zip |
Fixed some minor MSVC warnings
Diffstat (limited to 'src/adlmidi_opl3.cpp')
-rw-r--r-- | src/adlmidi_opl3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp index 9fbb8bb..a3ec71b 100644 --- a/src/adlmidi_opl3.cpp +++ b/src/adlmidi_opl3.cpp @@ -394,7 +394,7 @@ static inline double s_dmxFreq(double tone) { uint_fast32_t noteI = (uint_fast32_t)(tone); int_fast32_t bendI = 0; - int_fast32_t outHz = 0.0; + int_fast32_t outHz = 0; double bendDec = tone - (int)tone; bendI = (int_fast32_t)((bendDec * 128.0) / 2.0) + 128; @@ -470,7 +470,7 @@ static inline double s_apogeeFreq(double tone) { uint_fast32_t noteI = (uint_fast32_t)(tone); int_fast32_t bendI = 0; - int_fast32_t outHz = 0.0; + int_fast32_t outHz = 0; double bendDec = tone - (int)tone; int_fast32_t octave; int_fast32_t scaleNote; |