From e52e26a18e3f658a20f620fc55be82f0feef5d01 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 28 Sep 2020 23:41:50 +0300 Subject: Fixed some minor MSVC warnings --- src/adlmidi_opl3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/adlmidi_opl3.cpp') 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; -- cgit v1.2.3