m3_test fixes
@@ -24,10 +24,13 @@ bool AreFuncTypesEqual (const IM3FuncType i_typeA, const IM3FuncType i_typeB)
if (i_typeA->returnType == i_typeB->returnType)
{
if (i_typeA->numArgs == i_typeB->numArgs)
+ {
+ if (i_typeA->argTypes and i_typeB->argTypes)
{
return (memcmp (i_typeA->argTypes, i_typeB->argTypes, i_typeA->numArgs) == 0);
}
}
+ }
return false;
}
