diff --git a/plugins/spu2-x/src/ADSR.cpp b/plugins/spu2-x/src/ADSR.cpp index 0e902bd531..38ffbbf923 100644 --- a/plugins/spu2-x/src/ADSR.cpp +++ b/plugins/spu2-x/src/ADSR.cpp @@ -34,7 +34,7 @@ void InitADSR() // INIT ADSR else rate <<= shift; - PsxRates[i] = (int)std::min( rate, 0x3fffffffLL ); + PsxRates[i] = (int)std::min( rate, (s64)0x3fffffffLL ); } }