From 688fadd72949b868cf8f0c0a8ad8846850e3b0a3 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 25 Oct 2018 23:29:08 +0000 Subject: [PATCH] macOS build fix git-svn-id: https://svn.eduke32.com/eduke32@7081 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/audiolib/src/formats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/audiolib/src/formats.cpp b/source/audiolib/src/formats.cpp index 8eb8cb048..7377e61ff 100644 --- a/source/audiolib/src/formats.cpp +++ b/source/audiolib/src/formats.cpp @@ -295,7 +295,7 @@ end_of_data: blocklength /= 2; voice->position = 0; - voice->length = min(blocklength, 0x8000ull); + voice->length = min(blocklength, 0x8000u); voice->BlockLength = blocklength - voice->length; voice->length <<= 16;