beprefalloc: fix assignment of big values
[libfirm] / ir / adt / set.c
index dc77b05..8128d3b 100644 (file)
@@ -437,8 +437,7 @@ void *(pset_insert) (SET *se, const void *key, unsigned hash)
 
 void pset_insert_pset_ptr(pset *target, pset *src)
 {
-       void *elt;
-       foreach_pset(src, void*, elt) {
+       foreach_pset(src, void, elt) {
                pset_insert_ptr(target, elt);
        }
 }