summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64
diff options
context:
space:
mode:
Diffstat (limited to 'asm/intel64')
-rw-r--r--asm/intel64/jmp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/intel64/jmp.cpp b/asm/intel64/jmp.cpp
index 30ae546..3899cac 100644
--- a/asm/intel64/jmp.cpp
+++ b/asm/intel64/jmp.cpp
@@ -78,18 +78,18 @@ Op_jmp::Op_jmp(const std::string& name, AsmArgs& args, const OP_T& jmp8, const O
label = std::any_cast<AsmArgs::Label>(args[0]).name();
if (!jmp32.empty()) { // set machine_code
- machine_code = jmp32 + OP_T{size_t(4), uint8_t(0)};
+ machine_code = jmp32 + OP_T(size_t(4), uint8_t(0));
addr_size = 4;
addr_offs = jmp32.size();
if (!jmp8.empty()) { // also provide alternative
- alternative_code = jmp8 + OP_T{size_t(1), uint8_t(0)};
+ alternative_code = jmp8 + OP_T(size_t(1), uint8_t(0));
alternative_size = 1;
alternative_offs = jmp8.size();
}
}
if (machine_code.empty() && !jmp8.empty()) {
- machine_code = jmp8 + OP_T{size_t(1), uint8_t(0)};
+ machine_code = jmp8 + OP_T(size_t(1), uint8_t(0));
addr_size = 1;
addr_offs = jmp8.size();
}