summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ir/comp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/comp.rs b/src/ir/comp.rs
index 23120020..56479da2 100644
--- a/src/ir/comp.rs
+++ b/src/ir/comp.rs
@@ -356,7 +356,7 @@ impl Bitfield {
if self.width() as u64 == mem::size_of::<u64>() as u64 * 8 {
u64::MAX
} else {
- ((1u64 << self.width()) - 1u64)
+ (1u64 << self.width()) - 1u64
};
unoffseted_mask << self.offset_into_unit()