From: <hik...@us...> - 2011-07-06 00:54:05
|
Revision: 9170 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=9170&view=rev Author: hikerstk Date: 2011-07-06 00:53:59 +0000 (Wed, 06 Jul 2011) Log Message: ----------- Fixed incorrect unsigned (since -1 is used to indicate 'not set'). Modified Paths: -------------- main/trunk/src/tracks/graph_node.hpp Modified: main/trunk/src/tracks/graph_node.hpp =================================================================== --- main/trunk/src/tracks/graph_node.hpp 2011-07-05 23:58:05 UTC (rev 9169) +++ main/trunk/src/tracks/graph_node.hpp 2011-07-06 00:53:59 UTC (rev 9170) @@ -158,7 +158,7 @@ }; // ------------------------------------------------------------------------ /** Returns a predecessor for this node. */ - unsigned int getPredecessor() const {return m_predecessor; } + int getPredecessor() const {return m_predecessor; } // ------------------------------------------------------------------------ }; // GraphNode This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |