spu2x: avoid 64 bits compilation issue

Reported by 3kinox
Solution given by unknownbrackets
This commit is contained in:
Gregory Hainaut committed 2015-11-13 18:48:03 +01:00
1 parent 67551f31fd
commit 2a0cd77eef
1 file changed
+1 -1
+1 -1
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 );
}
}