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

View File

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