diff --git a/fixed_wide/src/fixed.rs b/fixed_wide/src/fixed.rs index d88203b..a566151 100644 --- a/fixed_wide/src/fixed.rs +++ b/fixed_wide/src/fixed.rs @@ -536,7 +536,7 @@ macro_rules! impl_fix_rhs_lt_lhs_not_const_generic{ paste::item!{ #[inline] pub fn [](self)->Fixed<$rhs,{$rhs*32}>{ - Fixed::from_bits(bnum::cast::As::as_::>(self.bits).shr(($lhs-$rhs)*32)) + Fixed::from_bits(bnum::cast::As::as_::>(self.bits.shr(($lhs-$rhs)*32))) } } }