Skip to content

Commit

Permalink
fix: SUFFIX for target_pointer_width = "32"
Browse files Browse the repository at this point in the history
  • Loading branch information
yankun1992 committed Feb 10, 2023
1 parent a76f871 commit e5cc128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastbloom-rs/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct FilterBuilder {
}

#[cfg(target_pointer_width = "32")]
pub(crate) const SUFFIX: u64 = 0b0001_1111;
pub(crate) const SUFFIX: usize = 0b0001_1111;
#[cfg(target_pointer_width = "64")]
pub(crate) const SUFFIX: usize = 0b0011_1111;
#[cfg(target_pointer_width = "32")]
Expand Down

0 comments on commit e5cc128

Please sign in to comment.