buildMdoStatement: seems to have wrong argument type

This commit is contained in:
Peter De Wachter 2016-01-23 19:12:10 +01:00
parent 606dfd1650
commit 9124a65c98
1 changed files with 6 additions and 6 deletions

View File

@ -355,16 +355,16 @@ buildMdoWhileStatement(body, condition)
statementType *
buildMdoStatement(body, end)
blockType *body;
doEndType *end;
mdoEndType *end;
{
statementType *result;
if (end->doEndKind == UNTIL_END)
result = buildMdoUntilStatement(body, end->doEndCondition);
else if (end->doEndKind == WHILE_END)
result = buildMdoWhileStatement(body, end->doEndCondition);
if (end->mdoEndKind == UNTIL_END)
result = buildMdoUntilStatement(body, end->mdoEndCondition);
else if (end->mdoEndKind == WHILE_END)
result = buildMdoWhileStatement(body, end->mdoEndCondition);
else
botch("bad mdo-end kind: %d\n", end->doEndCondition);
botch("bad mdo-end kind: %d\n", end->mdoEndCondition);
qfree(end);
return(result);
}