oops that doesn't need to be unsafe
This commit is contained in:
parent
a3b253ce0c
commit
1500c62e51
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ unsafeApplyM p buf =
|
||||||
let offset' = fromIntegral offset
|
let offset' = fromIntegral offset
|
||||||
let sz = Vector.length bs
|
let sz = Vector.length bs
|
||||||
let dst = MVector.slice offset' sz buf
|
let dst = MVector.slice offset' sz buf
|
||||||
Vector.unsafeCopy dst bs
|
Vector.copy dst bs
|
||||||
RLE {size, value} -> do
|
RLE {size, value} -> do
|
||||||
let offset' = fromIntegral offset
|
let offset' = fromIntegral offset
|
||||||
let sz = fromIntegral size
|
let sz = fromIntegral size
|
||||||
|
|
Loading…
Reference in a new issue