summaryrefslogtreecommitdiff
path: root/view/macho/objc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/macho/objc.cpp')
-rw-r--r--view/macho/objc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/macho/objc.cpp b/view/macho/objc.cpp
index 68bd68d7..f94e0dfd 100644
--- a/view/macho/objc.cpp
+++ b/view/macho/objc.cpp
@@ -422,7 +422,7 @@ void ObjCProcessor::LoadClasses(BinaryReader* reader, Ref<Section> classPtrSecti
classPtr);
char hexString[9];
hexString[8] = 0;
- snprintf(hexString, sizeof(hexString), "%llx", classPtr);
+ snprintf(hexString, sizeof(hexString), "%" PRIx64, classPtr);
name = "0x" + std::string(hexString);
}
@@ -548,7 +548,7 @@ void ObjCProcessor::LoadCategories(BinaryReader* reader, Ref<Section> classPtrSe
if (size == 0)
return;
auto ptrSize = m_data->GetAddressSize();
- auto ptrCount = size / m_data->GetAddressSize();
+ //auto ptrCount = size / m_data->GetAddressSize();
auto classPtrSectionStart = classPtrSection->GetStart();
auto classPtrSectionEnd = classPtrSection->GetEnd();