diff --git a/dll/win32/winmm/CMakeLists.txt b/dll/win32/winmm/CMakeLists.txt index 2566277f94d..5605be65dda 100644 --- a/dll/win32/winmm/CMakeLists.txt +++ b/dll/win32/winmm/CMakeLists.txt @@ -24,8 +24,9 @@ add_library(winmm MODULE if(MSVC) # Disable warning C4090: 'function': different 'const' qualifiers + # Disable warning C4146: unary minus operator applied to unsigned type, result still unsigned # Disable warning C4312: 'type cast': conversion from 'DWORD' to 'HTASK' of greater size - target_compile_options(winmm PRIVATE /wd4090 /wd4312) + target_compile_options(winmm PRIVATE /wd4090 /wd4146 /wd4312) endif() set_module_type(winmm win32dll)