summaryrefslogtreecommitdiff
path: root/typelibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typelibrary.cpp')
-rw-r--r--typelibrary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/typelibrary.cpp b/typelibrary.cpp
index a56c6db3..a2fff4a5 100644
--- a/typelibrary.cpp
+++ b/typelibrary.cpp
@@ -14,9 +14,9 @@ TypeLibrary::TypeLibrary(Ref<Architecture> arch, const std::string& name)
}
-bool TypeLibrary::DecompressToFile(const std::string& path, const std::string& output)
+bool TypeLibrary::DecompressToFile(const std::string& path)
{
- return BNTypeLibraryDecompressToFile(path.c_str(), output.c_str());
+ return BNTypeLibraryDecompressToFile(m_object, path.c_str());
}