diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-25 02:42:10 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-26 03:29:34 -0300 |
commit | 03abe8bf856b73a64f61252678acde72afbb38be (patch) | |
tree | 90f9d5a7409ec556ee35b4d54af57a718b637929 | |
parent | 05bd50a1cf38daf744864828c39c20d064cac4e7 (diff) |
video_core: Enforce C4244
Enforce implicit integer casts to a smaller type as errors.
-rw-r--r-- | src/video_core/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index f9454bbaa..e31eb30c0 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -293,6 +293,7 @@ endif() if (MSVC) target_compile_options(video_core PRIVATE /we4267 # 'var' : conversion from 'size_t' to 'type', possible loss of data + /we4244 # 'var' : conversion from integer to 'type', possible loss of data /we4456 # Declaration of 'identifier' hides previous local declaration /we4457 # Declaration of 'identifier' hides function parameter /we4458 # Declaration of 'identifier' hides class member |