mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 06:28:34 +00: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:
parent
edc8eb63c4
commit
2d57c60148
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue