summaryrefslogtreecommitdiff
path: root/src/ir/find_all.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/find_all.h')
-rw-r--r--src/ir/find_all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/find_all.h b/src/ir/find_all.h
index 77edafe89..708517124 100644
--- a/src/ir/find_all.h
+++ b/src/ir/find_all.h
@@ -64,7 +64,7 @@ template<typename T> struct FindAllPointers {
// take \ast by reference.
FindAllPointers(Expression*& ast) {
PointerFinder finder;
- finder.id = (Expression::Id)T::SpecificId;
+ finder.id = T::SpecificId;
finder.list = &list;
finder.walk(ast);
}