Commit 1df388e1 authored by yb9976's avatar yb9976
Browse files

Removed superfluous cast.

parent baa581f9
......@@ -793,7 +793,7 @@ void set_entity_parameter_number(ir_entity *entity, size_t n)
unsigned get_entity_vtable_number(const ir_entity *ent)
{
assert(is_method_entity((ir_entity *)ent));
assert(is_method_entity(ent));
return ent->attr.mtd_attr.vtable_number;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment