Commit e50f1355 authored by Joonas Koivunen's avatar Joonas Koivunen
Browse files

fix: missing ptr.offset from 9..=15 case

parent eb008c0f
......@@ -92,7 +92,7 @@ impl SeaHasher {
9..=15 => {
self.push(helper::read_u64(ptr));
excessive -= 8;
self.tail = helper::read_int(slice::from_raw_parts(ptr, excessive));
self.tail = helper::read_int(slice::from_raw_parts(ptr.offset(8), excessive));
self.ntail = excessive;
},
16 => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment