Commit be3d0f93 authored by Romain Vimont's avatar Romain Vimont Committed by Luca Barbato

Replace as_slice() usage in ME

parent 77324d95
......@@ -86,8 +86,8 @@ mod nasm {
for c in (0..blk_w).step_by(step_size) {
let org_slice = plane_org.subslice(c, r);
let ref_slice = plane_ref.subslice(c, r);
let org_ptr = org_slice.as_slice().as_ptr();
let ref_ptr = ref_slice.as_slice().as_ptr();
let org_ptr = org_slice.as_ptr();
let ref_ptr = ref_slice.as_ptr();
// FIXME for now, T == u16
let org_ptr = org_ptr as *const u16;
let ref_ptr = ref_ptr as *const u16;
......
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