diff --git a/CMakeLists.txt b/CMakeLists.txt index cc7cbbc..bdcb15c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,3 +41,5 @@ target_link_libraries(ModManager ${LIBXML_LIBRARIES}) target_link_libraries(ModManager ${AUDIT_LIBRARIES}) install(TARGETS ModManager DESTINATION bin) + +set_property(TARGET ModManager PROPERTY C_STANDARD 23) diff --git a/src/main.c b/src/main.c index dafc485..e77a4bc 100644 --- a/src/main.c +++ b/src/main.c @@ -90,7 +90,7 @@ int validateAppId(const char * appIdStr) { return (int)appid; } -int listGames(int argc, char ** argv) { +int listGames(int argc, char **) { if(argc != 2) return usage(); GList * gamesIds = g_hash_table_get_keys(gamePaths); GList * gamesIdsFirstPointer = gamesIds;