diff --git a/engine/oop.c b/engine/oop.c index 51a6645..f3e4b46 100644 --- a/engine/oop.c +++ b/engine/oop.c @@ -810,7 +810,7 @@ PH7_PRIVATE sxi32 PH7_ClassInstanceCmp(ph7_class_instance *pLeft, ph7_class_inst * are identical if and only if they refer to the same instance * of the same class. */ - return !(pLeft == pRight); + return pLeft != pRight; } /* * Attribute comparison.