mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -741,9 +741,9 @@ CAI_Hint *CAI_HintManager::GetFirstHint( AIHintIter_t *pIter )
|
||||
//-----------------------------------------------------------------------------
|
||||
CAI_Hint *CAI_HintManager::GetNextHint( AIHintIter_t *pIter )
|
||||
{
|
||||
if ( (int)*pIter != gm_AllHints.InvalidIndex() )
|
||||
if ( (intp)*pIter != gm_AllHints.InvalidIndex() )
|
||||
{
|
||||
int i = ( (int)*pIter ) + 1;
|
||||
int i = ( (intp)*pIter ) + 1;
|
||||
if ( gm_AllHints.Count() <= i )
|
||||
{
|
||||
*pIter = (AIHintIter_t)gm_AllHints.InvalidIndex();
|
||||
|
||||
Reference in New Issue
Block a user