SCI: Fix compilation on AmigaOS.

svn-id: r52784
This commit is contained in:
Johannes Schickel 2010-09-17 21:28:24 +00:00
parent 5abbe7204e
commit 9f273b31aa

View File

@ -588,7 +588,7 @@ void MidiDriver_CMS::generateSamples(int16 *buffer, int len) {
}
}
int32 render = MIN(len, _samplesTillCallback);
int32 render = MIN<int32>(len, _samplesTillCallback);
len -= render;
_samplesTillCallback -= render;
_cms->readBuffer(buffer, render);