diff --git a/lib/filters/filter-composite.c b/lib/filters/filter-composite.c index e183c00a3..bc37213f4 100644 --- a/lib/filters/filter-composite.c +++ b/lib/filters/filter-composite.c @@ -64,7 +64,7 @@ static void _wipe(struct dev_filter *f) { struct dev_filter **filters; - for (filters = f->private; *filters; filters++) + for (filters = (struct dev_filter **) f->private; *filters; filters++) if ((*filters)->wipe) (*filters)->wipe(*filters); }