arm64 : fix intptr_t size

This commit is contained in:
hymei
2022-06-05 01:12:32 +03:00
committed by nillerusr
parent 2690e6c85a
commit 4e4039d756
143 changed files with 1015 additions and 674 deletions
+2 -2
View File
@@ -361,7 +361,7 @@ public:
CLightSurface(int iThread) : m_pSurface(0), m_HitFrac(1.0f), m_bHasLuxel(false), m_iThread(iThread) {}
// call back with a node and a context
bool EnumerateNode( int node, Ray_t const& ray, float f, int context )
bool EnumerateNode( int node, Ray_t const& ray, float f, intp context )
{
dface_t* pSkySurface = 0;
@@ -410,7 +410,7 @@ public:
}
// call back with a leaf and a context
virtual bool EnumerateLeaf( int leaf, Ray_t const& ray, float start, float end, int context )
virtual bool EnumerateLeaf( int leaf, Ray_t const& ray, float start, float end, intp context )
{
bool hit = false;
dleaf_t* pLeaf = &dleafs[leaf];