X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flower%2Flower_builtins.c;h=381ea97ad4a52de9083629867710fa620de2d9cc;hb=4f25f9ca1fd1d53303f277a140a1aa657782aeba;hp=51096863197e107c7164f2f575f8316fc7fc8ce0;hpb=31d36dd3e8a2b7b513958f005cc555e01b9c3d5b;p=libfirm diff --git a/ir/lower/lower_builtins.c b/ir/lower/lower_builtins.c index 510968631..381ea97ad 100644 --- a/ir/lower/lower_builtins.c +++ b/ir/lower/lower_builtins.c @@ -99,7 +99,7 @@ static void replace_with_call(ir_node *node) snprintf(buf, sizeof(buf), "__%s%s2", name, gcc_machmode); id = new_id_from_str(buf); - entity = (ir_entity*)pmap_get(entities, id); + entity = pmap_get(ir_entity, entities, id); if (entity == NULL) { entity = create_compilerlib_entity(id, mtp); pmap_insert(entities, id, entity);