SCUMM: Fix compilation on AmigaOS4.

This commit is contained in:
Johannes Schickel 2012-12-14 21:18:56 +01:00
parent 1782f85bee
commit 9a0e2b7ee7

View File

@ -346,7 +346,7 @@ int Player_Mac::readBuffer(int16 *data, const int numSamples) {
_channel[i]._remaining = samplesLeft;
}
}
generated = MIN(_channel[i]._remaining, samplesLeft);
generated = MIN<uint32>(_channel[i]._remaining, samplesLeft);
if (_channel[i]._velocity != 0) {
_channel[i]._instrument.generateSamples(ptr, _channel[i]._pitchModifier, _channel[i]._velocity, generated, _channel[i]._remaining, _fadeNoteEnds);
}