Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix build with GHC 6.12.3

  • Loading branch information...
commit 83d42a09eb90c8a5c47d6c41b8d2845f16c239f7 1 parent 5aed771
@bos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Data/ByteString/Base16.hs
View
2  Data/ByteString/Base16.hs
@@ -116,7 +116,7 @@ decode (PS sfp soff slen) =
poke d . fromIntegral $ lo + (hi `shiftL` 4)
go (s `plusPtr` 2) (d `plusPtr` 1)
- hex (I# index) = W8# $ indexWord8OffAddr# table index
+ hex (I# index) = W8# (indexWord8OffAddr# table index)
!table =
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\

1 comment on commit 83d42a0

@hvr

btw, this fixes compilation w/ GHC-7.3 as well...

Please sign in to comment.
Something went wrong with that request. Please try again.