Browse Source

video_core: Enable sign conversion warnings

Enable sign conversion warnings but don't treat them as errors.
Rodrigo Locatti 6 years ago
parent
commit
fb9418798d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video_core/CMakeLists.txt

+ 1 - 1
src/video_core/CMakeLists.txt

@@ -184,5 +184,5 @@ endif()
 if (MSVC)
 if (MSVC)
     target_compile_options(video_core PRIVATE /we4267)
     target_compile_options(video_core PRIVATE /we4267)
 else()
 else()
-    target_compile_options(video_core PRIVATE -Werror=conversion -Wno-sign-conversion)
+    target_compile_options(video_core PRIVATE -Werror=conversion -Wno-error=sign-conversion)
 endif()
 endif()