diff --git a/src/race/race_manager.hpp b/src/race/race_manager.hpp index e8f96c800..0d2da2834 100644 --- a/src/race/race_manager.hpp +++ b/src/race/race_manager.hpp @@ -514,9 +514,11 @@ public: * AI karts. */ unsigned int getNumberOfKarts() const {return m_num_karts; } // ------------------------------------------------------------------------ - unsigned int getNumberOfAIKarts() const {return m_ai_kart_list.size(); } + unsigned int getNumberOfAIKarts() const + { return (unsigned)m_ai_kart_list.size(); } // ------------------------------------------------------------------------ - unsigned int getNumNonGhostKarts() const { return m_num_karts - m_num_ghost_karts; } + unsigned int getNumNonGhostKarts() const + { return m_num_karts - m_num_ghost_karts; } // ------------------------------------------------------------------------ MajorRaceModeType getMajorMode() const { return m_major_mode; } // ------------------------------------------------------------------------