summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Morph2021-06-28 03:53:52 -0400
committerGravatar Morph2021-06-28 14:20:25 -0400
commita47704f4dd38d57ffcd09bd22a727409340b662c (patch)
tree1d1800db94236f2421103c0fbe4a53eeb402af3f /src
parentvideo_core: Silence signed/unsigned mismatch warnings (diff)
downloadyuzu-a47704f4dd38d57ffcd09bd22a727409340b662c.tar.gz
yuzu-a47704f4dd38d57ffcd09bd22a727409340b662c.tar.xz
yuzu-a47704f4dd38d57ffcd09bd22a727409340b662c.zip
video_core: Enforce C4242
Diffstat (limited to 'src')
-rw-r--r--src/video_core/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index e31eb30c0..e4de55f4d 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -292,13 +292,12 @@ endif()
292 292
293if (MSVC) 293if (MSVC)
294 target_compile_options(video_core PRIVATE 294 target_compile_options(video_core PRIVATE
295 /we4267 # 'var' : conversion from 'size_t' to 'type', possible loss of data 295 /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
296 /we4244 # 'var' : conversion from integer to 'type', possible loss of data 296 /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data
297 /we4456 # Declaration of 'identifier' hides previous local declaration 297 /we4456 # Declaration of 'identifier' hides previous local declaration
298 /we4457 # Declaration of 'identifier' hides function parameter 298 /we4457 # Declaration of 'identifier' hides function parameter
299 /we4458 # Declaration of 'identifier' hides class member 299 /we4458 # Declaration of 'identifier' hides class member
300 /we4459 # Declaration of 'identifier' hides global declaration 300 /we4459 # Declaration of 'identifier' hides global declaration
301 /we4715 # 'function' : not all control paths return a value
302 ) 301 )
303else() 302else()
304 target_compile_options(video_core PRIVATE 303 target_compile_options(video_core PRIVATE