aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/long_mode')
-rw-r--r--src/long_mode/display.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs
index 3295ae7..9ba128d 100644
--- a/src/long_mode/display.rs
+++ b/src/long_mode/display.rs
@@ -3532,7 +3532,9 @@ fn contextualize_c<T: fmt::Write, Y: YaxColors>(instr: &Instruction, colors: &Y,
write!(out, "${}", colors.number(signed_i32_hex(rel)))
}
}
- _ => { unreachable!() }
+ other => {
+ write!(out, "{}", other)
+ }
}
}