Fix linux build
This commit is contained in:
parent
5fce3e6c66
commit
30fc311738
@ -129,7 +129,7 @@ int x86MsCdecl::GetArgRegisterSize()
|
||||
|
||||
void* x86MsCdecl::GetArgumentPtr(unsigned int iIndex, CRegisters* pRegisters)
|
||||
{
|
||||
if (iIndex < 0 || iIndex >= m_vecArgTypes.length())
|
||||
if (iIndex >= m_vecArgTypes.length())
|
||||
return NULL;
|
||||
|
||||
// Check if this argument was passed in a register.
|
||||
|
@ -137,7 +137,7 @@ int x86MsStdcall::GetArgRegisterSize()
|
||||
|
||||
void* x86MsStdcall::GetArgumentPtr(unsigned int iIndex, CRegisters* pRegisters)
|
||||
{
|
||||
if (iIndex < 0 || iIndex >= m_vecArgTypes.length())
|
||||
if (iIndex >= m_vecArgTypes.length())
|
||||
return NULL;
|
||||
|
||||
// Check if this argument was passed in a register.
|
||||
|
@ -154,7 +154,7 @@ void* x86MsThiscall::GetArgumentPtr(unsigned int iIndex, CRegisters* pRegisters)
|
||||
// The this pointer isn't explicitly defined as an argument.
|
||||
iIndex--;
|
||||
|
||||
if (iIndex < 0 || iIndex >= m_vecArgTypes.length())
|
||||
if (iIndex >= m_vecArgTypes.length())
|
||||
return NULL;
|
||||
|
||||
// Check if this argument was passed in a register.
|
||||
|
Loading…
Reference in New Issue
Block a user