mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[WINMM] Silence MSVC warning about unary minus operator
mci.c(1012): warning C4146: unary minus operator applied to unsigned type, result still unsigned
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user