win64: misc pointer truncation fixes

This commit is contained in:
HappyDOGE
2023-01-16 11:56:05 +03:00
parent bc909e9f96
commit bfb5b44d38
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1222,7 +1222,7 @@ float CAI_Navigator::GetPathTimeToGoal()
AI_PathNode_t CAI_Navigator::GetNearestNode()
{
#ifdef WIN32
COMPILE_TIME_ASSERT( (int)AIN_NO_NODE == NO_NODE );
COMPILE_TIME_ASSERT( (intp)AIN_NO_NODE == NO_NODE );
#endif
return (AI_PathNode_t)(intp)( GetPathfinder()->NearestNodeToNPC() );
}