From 3fddedcf5f7080239cc699990a27ab7ca5cffb74 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 21 Aug 2024 17:53:44 -0400 Subject: Fix build error in MSP430, update README. --- arch/msp430/src/architecture.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/msp430/src') 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 { let num_text = if *i >= 0 { - &format!("{i:#x}") + format!("{i:#x}") } else { - &format!("-{:#x}", -i) + format!("-{:#x}", -i) }; vec![ InstructionTextToken::new( -- cgit v1.3.1