Fixed incorrect unsigned (since -1 is used to indicate 'not set').
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1c2795f0c8
commit
1138c14595
@ -158,7 +158,7 @@ public:
|
||||
};
|
||||
// ------------------------------------------------------------------------
|
||||
/** Returns a predecessor for this node. */
|
||||
unsigned int getPredecessor() const {return m_predecessor; }
|
||||
int getPredecessor() const {return m_predecessor; }
|
||||
// ------------------------------------------------------------------------
|
||||
}; // GraphNode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user