Permalink
Browse files

Fix build with GHC 6.12.3

  • Loading branch information...
bos committed Nov 18, 2011
1 parent 5aed771 commit 83d42a09eb90c8a5c47d6c41b8d2845f16c239f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

This comment has been minimized.

Show comment
Hide comment
@hvr

hvr Dec 1, 2011

Member

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

Member

hvr commented on 83d42a0 Dec 1, 2011

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

Please sign in to comment.