diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Revision history for ghc-debug-common
 
-## 0.1.0.0 -- YYYY-mm-dd
+## 0.2.0.0 -- 2021-12-06
 
-* First version. Released on an unsuspecting world.
+* Second version
+
+## 0.1.0.0 -- 2021-06-14
+
+* First version.
diff --git a/cbits/Heap.c b/cbits/Heap.c
--- a/cbits/Heap.c
+++ b/cbits/Heap.c
@@ -11,7 +11,7 @@
     // the closure and then we can allocate space on the heap and copy them
     // there
     StgClosure *ptrs[size];
-    StgWord nptrs = collect_pointers(closure, size, ptrs);
+    StgWord nptrs = collect_pointers(closure, ptrs);
     StgArrBytes *arr =
         (StgArrBytes *)allocate(cap, sizeofW(StgArrBytes) + nptrs);
     TICK_ALLOC_PRIM(sizeofW(StgArrBytes), nptrs, 0);
diff --git a/ghc-debug-common.cabal b/ghc-debug-common.cabal
--- a/ghc-debug-common.cabal
+++ b/ghc-debug-common.cabal
@@ -1,6 +1,6 @@
 cabal-version:       3.0
 name:                ghc-debug-common
-version:             0.1.0.0
+version:             0.2.0.0
 synopsis:            Connect to a socket created by ghc-debug-stub and analyse
                      the heap of the debuggee program.
 description:         Connect to a socket created by ghc-debug-stub and analyse
@@ -36,7 +36,7 @@
                        transformers ^>= 0.5,
                        dom-lt ^>= 0.2,
                        unordered-containers ^>= 0.2,
-                       ghc-debug-convention ^>= 0.1,
+                       ghc-debug-convention ^>= 0.2,
                        deepseq ^>= 1.4
 
   hs-source-dirs:      src
diff --git a/src/GHC/Debug/Decode.hs b/src/GHC/Debug/Decode.hs
--- a/src/GHC/Debug/Decode.hs
+++ b/src/GHC/Debug/Decode.hs
@@ -4,6 +4,7 @@
 {-# LANGUAGE GHCForeignImportPrim #-}
 {-# LANGUAGE UnliftedFFITypes #-}
 {-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE TypeApplications #-}
 -- | Low-level functions for decoding a closure representation from the raw
 -- bytes
 module GHC.Debug.Decode ( decodeClosure
@@ -267,7 +268,7 @@
                         id
                         absurd
                         mkClosurePtr . convertClosure itb
-          $ fmap (\(W# w) -> (W64# w)) r
+          $ fmap (fromIntegral @Word @Word64) r
 
 
 fixTNTC :: Ptr a -> Ptr StgInfoTable
