From ea1f18dd085466718352dde1ef082dcfb9b96569 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Fri, 3 Jun 2022 19:29:43 +0800 Subject: [PATCH] Fix compatibility with primitive 0.7.4.0 Builds fine and all tests pass. Fixes #290 --- cborg/src/Codec/CBOR/Magic.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cborg/src/Codec/CBOR/Magic.hs b/cborg/src/Codec/CBOR/Magic.hs index 0160881..b1ff177 100644 --- a/cborg/src/Codec/CBOR/Magic.hs +++ b/cborg/src/Codec/CBOR/Magic.hs @@ -109,7 +109,7 @@ import Data.ByteString (ByteString) import qualified Data.ByteString as BS import qualified Data.ByteString.Internal as BS import qualified Data.ByteString.Unsafe as BS -import Data.Primitive.ByteArray as Prim hiding (copyByteArrayToPtr) +import Data.Primitive.ByteArray as Prim hiding (copyByteArrayToPtr, copyPtrToMutableByteArray) import Foreign.ForeignPtr (withForeignPtr) import Foreign.C (CUShort)