diff options
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 2121526498..1d932fd9ba 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -2792,7 +2792,7 @@ int AdlibSoundDriver::readBuffer(int16 *buffer, const int numSamples) { } } - int32 render = MIN(samplesLeft, _samplesTillCallback); + int32 render = MIN<int>(samplesLeft, _samplesTillCallback); samplesLeft -= render; _samplesTillCallback -= render; |