spu2x: avoid 64 bits compilation issue

Reported by 3kinox
Solution given by unknownbrackets
This commit is contained in:
Gregory Hainaut 2015-06-05 19:34:39 +02:00
parent 67551f31fd
commit 2a0cd77eef
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}