🚨 Fix warnings related to gdwCurPathStep signed ness
This commit is contained in:
parent
62986869ab
commit
f5406e7ce1
1 changed files with 1 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ PATHNODE *path_new_step()
|
|||
/** A stack for recursively searching nodes */
|
||||
PATHNODE *pnode_tblptr[MAXPATHNODES];
|
||||
/** size of the pnode_tblptr stack */
|
||||
int gdwCurPathStep;
|
||||
uint32_t gdwCurPathStep;
|
||||
/**
|
||||
* @brief push pPath onto the pnode_tblptr stack
|
||||
*/
|
||||
|
|
@ -120,7 +120,6 @@ void path_push_active_step(PATHNODE *pPath)
|
|||
PATHNODE *path_pop_active_step()
|
||||
{
|
||||
gdwCurPathStep--;
|
||||
assert(gdwCurPathStep >= 0);
|
||||
return pnode_tblptr[gdwCurPathStep];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue