macOS build fix

git-svn-id: https://svn.eduke32.com/eduke32@7081 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-25 23:29:08 +00:00
parent 75e141ec81
commit 688fadd729

View file

@ -295,7 +295,7 @@ end_of_data:
blocklength /= 2;
voice->position = 0;
voice->length = min(blocklength, 0x8000ull);
voice->length = min<uint32_t>(blocklength, 0x8000u);
voice->BlockLength = blocklength - voice->length;
voice->length <<= 16;