diff --git a/Data/BloomFilter.hs b/Data/BloomFilter.hs
--- a/Data/BloomFilter.hs
+++ b/Data/BloomFilter.hs
@@ -169,7 +169,7 @@
 #if WORD_SIZE_IN_BITS == 64
 maxHash = 4294967296
 #else
-maxHash = 2147483648
+maxHash = 1073741824
 #endif
 
 logBitsInHash :: Int
diff --git a/bloomfilter.cabal b/bloomfilter.cabal
--- a/bloomfilter.cabal
+++ b/bloomfilter.cabal
@@ -1,5 +1,5 @@
 name:            bloomfilter
-version:         1.2.6.4
+version:         1.2.6.5
 license:         BSD3
 license-file:    LICENSE
 author:          Bryan O'Sullivan <bos@serpentine.com>
