diff --git a/src/cc65/typecmp.c b/src/cc65/typecmp.c index 68c88d016..1ff49e159 100644 --- a/src/cc65/typecmp.c +++ b/src/cc65/typecmp.c @@ -258,9 +258,8 @@ static void DoCompare (const Type* lhs, const Type* rhs, typecmp_t* Result) } /* Compare the parameter lists */ - if (EqualFuncParams (F1->SymTab, F2->SymTab) == 0 || - EqualSymTables (F1->TagTab, F2->TagTab) == 0) { - /* One of the tables is not identical */ + if (EqualFuncParams (F1->SymTab, F2->SymTab) == 0) { + /* Parameter list is not identical */ SetResult (Result, TC_INCOMPATIBLE); return; }