diff options
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/function.cpp b/function.cpp index e4e8af17..fd3760b4 100644 --- a/function.cpp +++ b/function.cpp @@ -869,9 +869,9 @@ void Function::SetClobberedRegisters(const Confidence<std::set<uint32_t>>& clobb } -void Function::ApplyImportedTypes(Symbol* sym) +void Function::ApplyImportedTypes(Symbol* sym, Ref<Type> type) { - BNApplyImportedTypes(m_object, sym->GetObject()); + BNApplyImportedTypes(m_object, sym->GetObject(), type ? type->GetObject() : nullptr); } |
