mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-28 19:21:41 +02:00
std::min() compiler error on windows
This commit is contained in:
parent
6bde55898d
commit
46c45da842
1 changed files with 17 additions and 17 deletions
|
@ -92,7 +92,7 @@ qint64 AudioRingBuffer::writeData(const char* data, qint64 maxSize) {
|
|||
// make sure we have enough bytes left for this to be the right amount of audio
|
||||
// otherwise we should not copy that data, and leave the buffer pointers where they are
|
||||
|
||||
int samplesToCopy = std::min(maxSize / sizeof(int16_t), (quint64) _sampleCapacity);
|
||||
int samplesToCopy = std::min(maxSize / sizeof(int16_t), (qint64) _sampleCapacity);
|
||||
|
||||
std::less<int16_t*> less;
|
||||
std::less_equal<int16_t*> lessEqual;
|
||||
|
|
Loading…
Reference in a new issue