diff --git a/hashtables.cabal b/hashtables.cabal
--- a/hashtables.cabal
+++ b/hashtables.cabal
@@ -1,5 +1,5 @@
 Name:                hashtables
-Version:             1.0.1.7
+Version:             1.0.1.8
 Synopsis:            Mutable hash tables in the ST monad
 Homepage:            http://github.com/gregorycollins/hashtables
 License:             BSD3
@@ -171,8 +171,8 @@
 
   Build-depends:     base      >= 4   && <5,
                      hashable  >= 1.1 && <2,
-                     primitive,
-                     vector    >= 0.7 && < 0.10
+                     primitive >= 0.4 && <0.6,
+                     vector    >= 0.7 && <0.11
 
   if flag(portable)
     cpp-options: -DNO_C_SEARCH -DPORTABLE
diff --git a/src/Data/HashTable/Internal/IntArray.hs b/src/Data/HashTable/Internal/IntArray.hs
--- a/src/Data/HashTable/Internal/IntArray.hs
+++ b/src/Data/HashTable/Internal/IntArray.hs
@@ -48,7 +48,7 @@
 newArray n = do
     let !sz = n * wordSizeInBytes
     !arr <- A.newAlignedPinnedByteArray sz  cacheLineSize
-    A.memsetByteArray arr 0 0 sz
+    A.fillByteArray arr 0 sz 0
     return $! IA arr
 
 
