Skip to content

Commit

Permalink
TSAGE: Fix compilation on AmigaOS4
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 6, 2011
1 parent 68b4873 commit 4c89f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tsage/sound.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 4c89f4a

Please sign in to comment.