summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibX86/Instruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibX86/Instruction.cpp')
-rw-r--r--Userland/Libraries/LibX86/Instruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibX86/Instruction.cpp b/Userland/Libraries/LibX86/Instruction.cpp
index cfcdd6b45a..a0d74c23cf 100644
--- a/Userland/Libraries/LibX86/Instruction.cpp
+++ b/Userland/Libraries/LibX86/Instruction.cpp
@@ -100,7 +100,7 @@ static void build(InstructionDescriptor* table, u8 op, const char* mnemonic, Ins
case OP_AX_moff16:
case OP_EAX_moff32:
case OP_NEAR_imm:
- d.imm1_bytes = InstructionDescriptor::CurrentAddressSize;
+ d.imm1_bytes = CurrentAddressSize;
break;
//default:
case InvalidFormat: