summaryrefslogtreecommitdiff
path: root/source/API/SBFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/API/SBFrame.cpp')
-rw-r--r--source/API/SBFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/API/SBFrame.cpp b/source/API/SBFrame.cpp
index 684a707dda94b..5762a75f33d6a 100644
--- a/source/API/SBFrame.cpp
+++ b/source/API/SBFrame.cpp
@@ -419,7 +419,7 @@ addr_t SBFrame::GetPC() const {
frame = exe_ctx.GetFramePtr();
if (frame) {
addr = frame->GetFrameCodeAddress().GetOpcodeLoadAddress(
- target, eAddressClassCode);
+ target, AddressClass::eCode);
} else {
if (log)
log->Printf("SBFrame::GetPC () => error: could not reconstruct frame "