From: <hik...@us...> - 2010-09-16 03:36:50
|
Revision: 6023 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=6023&view=rev Author: hikerstk Date: 2010-09-16 03:36:43 +0000 (Thu, 16 Sep 2010) Log Message: ----------- Removed compiler warning. Modified Paths: -------------- main/trunk/src/config/stk_config.cpp Modified: main/trunk/src/config/stk_config.cpp =================================================================== --- main/trunk/src/config/stk_config.cpp 2010-09-16 03:24:26 UTC (rev 6022) +++ main/trunk/src/config/stk_config.cpp 2010-09-16 03:36:43 UTC (rev 6023) @@ -196,7 +196,8 @@ if(to<0) to=m_max_karts; int points=-1; pn->get("points", &points); - if(points<0 || from<0 || from>to||m_score_increase.size()!=from-1) + if(points<0 || from<0 || from>to|| + (int)m_score_increase.size()!=from-1) { fprintf(stderr, "Incorrect GP point specification:\n"); fprintf(stderr, "from: %d to: %d points: %d\n", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |