diff options
| author | Alexander Taylor <alex@vector35.com> | 2024-08-21 17:53:44 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2024-08-22 19:35:30 -0400 |
| commit | 3fddedcf5f7080239cc699990a27ab7ca5cffb74 (patch) | |
| tree | c06ed8d07ca1f250c6b59cdef0e9bb1355948c6e /arch/msp430/src | |
| parent | f038c7c9a9646c2a126d693eab7d297cd25565e3 (diff) | |
Fix build error in MSP430, update README.
Diffstat (limited to 'arch/msp430/src')
| -rw-r--r-- | arch/msp430/src/architecture.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/msp430/src/architecture.rs b/arch/msp430/src/architecture.rs index ab392a38..c37358ea 100644 --- a/arch/msp430/src/architecture.rs +++ b/arch/msp430/src/architecture.rs @@ -631,9 +631,9 @@ fn generate_operand_tokens(source: &Operand, addr: u64, call: bool) -> Vec<Instr } 2 => { let num_text = if *i >= 0 { - &format!("{i:#x}") + format!("{i:#x}") } else { - &format!("-{:#x}", -i) + format!("-{:#x}", -i) }; vec