oops that doesn't need to be unsafe

This commit is contained in:
Rhiannon Morris 2021-02-24 17:28:43 +01:00
parent a3b253ce0c
commit 1500c62e51
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ unsafeApplyM p buf =
let offset' = fromIntegral offset
let sz = Vector.length bs
let dst = MVector.slice offset' sz buf
Vector.unsafeCopy dst bs
Vector.copy dst bs
RLE {size, value} -> do
let offset' = fromIntegral offset
let sz = fromIntegral size