video_core: Enable sign conversion warnings

Enable sign conversion warnings but don't treat them as errors.
This commit is contained in:
Rodrigo Locatti 2019-11-11 18:00:37 -03:00 committed by GitHub
parent 18c1cb68fd
commit fb9418798d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -184,5 +184,5 @@ endif()
if (MSVC)
target_compile_options(video_core PRIVATE /we4267)
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()