File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -340,16 +340,16 @@ packChars cs = unsafePackLenChars (List.length cs) cs
340340
341341unsafePackLenBytes :: Int -> [Word8 ] -> ByteString
342342unsafePackLenBytes len xs =
343- unsafeCreate len $ \ p -> foldr
343+ unsafeCreate len $ \ p0 -> foldr
344344 (\ x go p -> poke p x >> go (p `plusPtr` 1 ))
345- (\ _ -> return () ) xs p
345+ (\ _ -> return () ) xs p0
346346{-# INLINE unsafePackLenBytes #-}
347347
348348unsafePackLenChars :: Int -> [Char ] -> ByteString
349349unsafePackLenChars len cs =
350- unsafeCreate len $ \ p -> foldr
350+ unsafeCreate len $ \ p0 -> foldr
351351 (\ x go p -> poke p (c2w x) >> go (p `plusPtr` 1 ))
352- (\ _ -> return () ) cs p
352+ (\ _ -> return () ) cs p0
353353{-# INLINE unsafePackLenChars #-}
354354
355355
You can’t perform that action at this time.
0 commit comments