Add the * for the type in foreach_pset() automatically.
[libfirm] / ir / adt / set.c
index 9833e63..8128d3b 100644 (file)
@@ -437,7 +437,7 @@ void *(pset_insert) (SET *se, const void *key, unsigned hash)
 
 void pset_insert_pset_ptr(pset *target, pset *src)
 {
-       foreach_pset(src, void*, elt) {
+       foreach_pset(src, void, elt) {
                pset_insert_ptr(target, elt);
        }
 }