summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/Address.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Address.hs b/src/Network/Address.hs
index e4ec09b4..0fbd191a 100644
--- a/src/Network/Address.hs
+++ b/src/Network/Address.hs
@@ -566,7 +566,7 @@ testIdBit (NodeId bs) i
566-} 566-}
567 567
568testIdBit :: FiniteBits bs => bs -> Word -> Bool 568testIdBit :: FiniteBits bs => bs -> Word -> Bool
569testIdBit bs i = testBit bs (fromIntegral (finiteBitSize bs - fromIntegral i)) 569testIdBit bs i = testBit bs (fromIntegral (finiteBitSize bs - 1 - fromIntegral i))
570{-# INLINE testIdBit #-} 570{-# INLINE testIdBit #-}
571 571
572------------------------------------------------------------------------ 572------------------------------------------------------------------------