From eb1b1db886babc038fb00985718f5869afb44c19 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Fri, 26 Feb 2021 17:58:01 -0500 Subject: Change tag ids to string --- binaryview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index 476b897b..63e73ad1 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -2431,9 +2431,9 @@ void BinaryView::RemoveTag(Ref tag, bool user) } -Ref BinaryView::GetTag(uint64_t tagId) +Ref BinaryView::GetTag(const string& tagId) { - BNTag* tag = BNGetTag(m_object, tagId); + BNTag* tag = BNGetTag(m_object, tagId.c_str()); if (!tag) return nullptr; -- cgit v1.3.1