Core/Game: Fix several warnings about wrong data types