Fix build.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-05-28 11:55:17 +02:00
parent 5c176207e1
commit b319e11c09
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -4159,7 +4159,7 @@ static sxi32 VmByteCodeExec(
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR,
"Attempt to call parent class from non-inheritance instance of class '%z'", &pClass->sName);
}
if(pNos->iFlags == MEMOBJ_BASE) {
if(pNos->iFlags == MEMOBJ_BASEOBJ) {
pClass = pClass->pBase;
}
}