diff --git a/src/register/mstatus.rs b/src/register/mstatus.rs index b4f0f641..4f225ac2 100644 --- a/src/register/mstatus.rs +++ b/src/register/mstatus.rs @@ -210,7 +210,7 @@ impl Mstatus { #[cfg(riscv32)] () => XLEN::XLEN32, #[cfg(not(riscv32))] - () => XLEN::from((self.bits() >> 32) as u8 & 0x3), + () => XLEN::from((self.bits >> 32) as u8 & 0x3), } } @@ -223,7 +223,7 @@ impl Mstatus { #[cfg(riscv32)] () => XLEN::XLEN32, #[cfg(not(riscv32))] - () => XLEN::from((self.bits() >> 34) as u8 & 0x3), + () => XLEN::from((self.bits >> 34) as u8 & 0x3), } }