diff options
Diffstat (limited to 'sound/flac.cpp')
-rw-r--r-- | sound/flac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/flac.cpp b/sound/flac.cpp index f058d2dc6f..da8460eebc 100644 --- a/sound/flac.cpp +++ b/sound/flac.cpp @@ -149,7 +149,7 @@ public: bool isStreamDecoderReady() const { return getStreamDecoderState() == FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC ; } protected: - uint getChannels() const { return MIN(_streaminfo.channels, MAX_OUTPUT_CHANNELS); } + uint getChannels() const { return MIN<uint>(_streaminfo.channels, MAX_OUTPUT_CHANNELS); } bool allocateBuffer(uint minSamples); |