summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm.h b/disasm.h
index eaa1e27..d472105 100644
--- a/disasm.h
+++ b/disasm.h
@@ -326,7 +326,7 @@ struct Arg {
a.uword = regmask;
return a;
}
- static constexpr Self Displacement(const int16_t displacement) {
+ static constexpr Self Displacement(const int32_t displacement) {
Arg a{ArgType::kDisplacement, 0};
a.lword = displacement;
return a;