[teagba] Fix type conversions

This commit is contained in:
2023-06-07 21:14:39 -05:00
parent f5b1da09b5
commit ae3f0bb5db
2 changed files with 9 additions and 4 deletions

View File

@ -10,6 +10,11 @@ add_library(
gfx.cpp
)
if(NOT MSVC)
target_compile_options(TeaGBA PRIVATE -Wsign-conversion)
target_compile_options(TeaGBA PRIVATE -Wconversion)
endif()
target_include_directories(
TeaGBA PUBLIC
../include
@ -26,4 +31,4 @@ install(
DESTINATION
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
)