Skip to content

Commit 1fce151

Browse files
voidstackloopclaude
andcommitted
summary_writer: rotate_right
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 18cfb89 commit 1fce151

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/oxideon-core/src/summary_writer.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn crc32c(data: &[u8]) -> u32 {
3535

3636
fn masked_crc(data: &[u8]) -> u32 {
3737
let c = crc32c(data);
38-
((c >> 15) | (c << 17)).wrapping_add(0xa282_ead8)
38+
c.rotate_right(15).wrapping_add(0xa282_ead8)
3939
}
4040

4141
fn varint(mut v: u64, out: &mut Vec<u8>) {

0 commit comments

Comments
 (0)