fixed class cast exception boo boo

This commit is contained in:
dragonmacher
2026-04-24 13:50:25 -04:00
parent 3c95d90d33
commit f28e62b24b
@@ -1937,9 +1937,10 @@ public class ReferenceDBManager implements ReferenceManager, ManagerDB, ErrorHan
LazyMap.lazyMap(new HashMap<>(), () -> new ArrayList<>());
for (Symbol s : symbolMgr.getSymbols(function.getID())) {
Address symbolAddress = s.getAddress();
Variable v = (Variable) s.getObject();
map.get(symbolAddress).add(v);
if (s instanceof Variable v) {
Address a = s.getAddress();
map.get(a).add(v);
}
}
return map;
}