mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 05:29:19 +00:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -175,12 +175,12 @@ void BuildPropOffsetToIndexMap( CSendTablePrecalc *pPrecalc, const CStandardSend
|
||||
{
|
||||
const SendProp *pProp = pPrecalc->m_Props[i];
|
||||
|
||||
int offset = pProp->GetOffset() + (int)pmStack.GetCurStructBase() - 1;
|
||||
intp offset = pProp->GetOffset() + (intp)pmStack.GetCurStructBase() - 1;
|
||||
int elementCount = 1;
|
||||
int elementStride = 0;
|
||||
if ( pProp->GetType() == DPT_Array )
|
||||
{
|
||||
offset = pProp->GetArrayProp()->GetOffset() + (int)pmStack.GetCurStructBase() - 1;
|
||||
offset = pProp->GetArrayProp()->GetOffset() + (intp)pmStack.GetCurStructBase() - 1;
|
||||
elementCount = pProp->m_nElements;
|
||||
elementStride = pProp->m_ElementStride;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user