Fix: prevent incorrect error messages

This commit is contained in:
ceriel
1991-03-26 09:45:20 +00:00
parent ca06e574ca
commit 3e16cf5116
5 changed files with 42 additions and 37 deletions

View File

@@ -267,7 +267,7 @@ idf2sdef(idf, tp)
/* Follow chain from idf, to meet tp. */
while ((sdef = *sdefp)) {
if (equal_type(sdef->sd_stype, tp, -999)) /* ??? hack */
if (equal_type(sdef->sd_stype, tp, -999, 0)) /* ??? hack */
return sdef;
sdefp = &(*sdefp)->next;
}