Fix compiler warning

This commit is contained in:
Benau 2018-10-31 12:47:26 +08:00
parent c1ed846e1e
commit 0b2a691b24

View File

@ -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; }
// ------------------------------------------------------------------------